fix: trim bearer in lowercase

This commit is contained in:
Derrick Hammer 2024-02-17 19:48:28 -05:00
parent ca559eccc5
commit 2fd3368b5a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ func ParseAuthTokenHeader(headers http.Header) string {
}
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
authHeader = strings.TrimPrefix(authHeader, "bearer ")
return authHeader
}