Skip to content
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

Handle OpenID connect errors more clearly #53

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Koenvh1
Copy link

@Koenvh1 Koenvh1 commented Nov 18, 2024

Currently, whenever the OpenID connect login flow encounters an error, the user will be redirected to the login again. The error message is included in the response (as base64-encoded JSON in the error query parameter), but is ignored. This can make it very opaque why the user is redirected to the login again (Insufficient permissions? Not allowed to authenticate? No matching role? Broken OpenID connect configuration?)

It would be nice that, rather than forwarding, the error would be shown to the user in a window, with buttons "go back" and "log in" (depending on the context).

This PR does alert the error message in a very rudimentary fashion, but it needs to be more polished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant