Lets the JWT and Simple OAuth modules coexist on the same site. Normally only one of their authentication providers can claim a bearer request, so a valid token from the "losing" module is silently treated as anonymous (403 instead of 401). This module removes both providers' authentication_provider tags and replaces them with a single wrapper (jwt_oauth2_auth) that tries JWT then Simple OAuth in turn.
Lets the JWT and Simple OAuth modules coexist on the same site. Normally only one of their authentication providers can claim a bearer request, so a valid token from the "losing" module is silently treated as anonymous (403 instead of 401). This module removes both providers' authentication_provider tags and replaces them with a single wrapper (jwt_oauth2_auth) that tries JWT then Simple OAuth in turn.