diff --git a/api/middleware.go b/api/middleware.go index 48b7d45..76ba44b 100644 --- a/api/middleware.go +++ b/api/middleware.go @@ -258,6 +258,8 @@ func parseAuthTokenHeader(headers http.Header) string { authHeader = strings.TrimPrefix(authHeader, "Bearer ") authHeader = strings.TrimPrefix(authHeader, "bearer ") + authHeader = strings.TrimPrefix(authHeader, "Token ") + authHeader = strings.TrimPrefix(authHeader, "token ") return authHeader }