We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are using flask-oidc 1.4. There this bug occurs at lines 457-465.
When the credentials store has no key for id_token["sub"] this throws an uncaught ValueError as line 443 returns None.
id_token["sub"]
None
flask-oidc/flask_oidc/__init__.py
Lines 438 to 448 in 7f16e27
Simply catching the error and redirecting solves the issue.
except ValueError: logger.debug("Credentials missing", exc_info=True) return self.redirect_to_auth_server(request.url)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We are using flask-oidc 1.4.
There this bug occurs at lines 457-465.
When the credentials store has no key for
id_token["sub"]
this throws an uncaught ValueError as line 443 returnsNone
.flask-oidc/flask_oidc/__init__.py
Lines 438 to 448 in 7f16e27
Simply catching the error and redirecting solves the issue.
The text was updated successfully, but these errors were encountered: