mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 19:36:50 +00:00
feature/Check Auth headers ambiguity 3
This commit is contained in:
parent
18d6767e34
commit
176bd92423
@ -7,9 +7,6 @@ object AuthorisationUtil {
|
||||
def getAuthorisationHeaders(requestHeaders: List[HTTPParam]): List[String] = {
|
||||
requestHeaders.map(_.name).filter {
|
||||
case `Consent-Id`| `Consent-ID` | `Consent-JWT` => true
|
||||
case "Authorization" => true
|
||||
case "DirectLogin" => true
|
||||
case "GatewayLogin" => true
|
||||
case _ => false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user