-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
Implement an error handling mechanism #22
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
hacktoberfest
Participating in Hacktoberfest
Comments
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Sep 11, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Sep 11, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 6, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 9, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 9, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 12, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 12, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 12, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 12, 2023
ArtyomVancyan
added a commit
to ArtyomVancyan/fastapi-oauth2
that referenced
this issue
Oct 12, 2023
vokimon
added a commit
to vokimon/fastapi-oauth2
that referenced
this issue
Jul 30, 2024
That is: - raising starlette.authentication.AuthenticationError - providing an on_error callback turning starlet 400 into 401 to keep same api - letting the user provide their own on_error when instantiating the middleware.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
hacktoberfest
Participating in Hacktoberfest
The only exception raised is the
OAuth2LoginError
exception that can occur when parsing the obtained token from the response. Library users must be able to handle the custom errors in their own way, whether they are building an SSR or REST API application.The text was updated successfully, but these errors were encountered: