fix: need to trim upper and lower case
This commit is contained in:
parent
fb752f1f3a
commit
3565331a58
|
@ -240,6 +240,7 @@ func parseAuthTokenHeader(headers http.Header) string {
|
|||
}
|
||||
|
||||
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
|
||||
authHeader = strings.TrimPrefix(authHeader, "bearer ")
|
||||
|
||||
return authHeader
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue