Issue #, if available:
Cannot use the library for cookie auth
Description of changes:
library expects the token as a Bearer token. So for systems which uses cookie for auth won't work well with the library. For e.g, websockets where the token is coming as a cookie. Added a new decorator requires_auth_cookie for validating tokens from cookie, with an option to override the cookie name from config JWT_OIDC_AUTH_COOKIE_NAME
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the flask-jwt-oidc license (Apache 2.0).
Issue #, if available: Cannot use the library for cookie auth
Description of changes:
requires_auth_cookie
for validating tokens from cookie, with an option to override the cookie name from configJWT_OIDC_AUTH_COOKIE_NAME
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the flask-jwt-oidc license (Apache 2.0).