-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Bug]: Cannot handle oauth login error properly #400
Comments
This is only useful for external clients. The lenra client will not return any error with our current setup and will only return an error when the oauth server is down, which is impossible to handle in the popup anyway. We should be able to show error pages for external clients when they use a bad clientId or the wrong scopes. |
After some research, we found a configuration for errors which can be done in the hydra.yml file by adding a For example we could add this line under the And then create a new template on the identity_web library to properly show the error to the user. |
What happened?
When trying to login to the OAuth and an error occurs, in my case a scope is not allowed to be used as you can see in the log output, I cannot handle the error properly on the client side because I receive a 404 error from the server after the redirection to the non-existing oauth error page.
We must add an error page for the oauth.
What browsers are you seeing the problem on?
No response
Version
alpha
Relevant log output
The text was updated successfully, but these errors were encountered: