feature/Check Auth headers ambiguity 3

This commit is contained in:
Marko Milić 2025-01-06 14:54:37 +01:00
parent 18d6767e34
commit 176bd92423

View File

@ -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
}
}