fix: trim bearer in lowercase
This commit is contained in:
parent
ca559eccc5
commit
2fd3368b5a
|
@ -92,6 +92,7 @@ func ParseAuthTokenHeader(headers http.Header) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
|
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
|
||||||
|
authHeader = strings.TrimPrefix(authHeader, "bearer ")
|
||||||
|
|
||||||
return authHeader
|
return authHeader
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue