mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-10 15:24:35 +00:00
fc905c654d
authenticate and authenticate_header hardcoded "Bearer" instead of using the token type the backend is configured with. Setting APPLICATION_JWT_TOKEN_TYPE, ADDONS_TOKEN_TYPE or USER_ACCESS_TOKEN_TYPE to anything else made every token be ignored, since the Authorization scheme never matched. Store the token type on the backend and use it both to match the Authorization header scheme (case-insensitively) and as the WWW-Authenticate scheme.