diff --git a/api/middleware.go b/api/middleware.go index a0ac80c..a6dea66 100644 --- a/api/middleware.go +++ b/api/middleware.go @@ -240,6 +240,7 @@ func parseAuthTokenHeader(headers http.Header) string { } authHeader = strings.TrimPrefix(authHeader, "Bearer ") + authHeader = strings.TrimPrefix(authHeader, "bearer ") return authHeader }