Skip to content

Conversation

@julien-nc
Copy link
Member

When the IdP redirects to the user_oidc "code" endpoint with an error, we used to display a raw JSON response. We can return a real error page there with a nicer user-facing error description. The real error is logged with a "warning" level.

Since 32, the "403" template contains a button to go back to the login page. Even better for us.

@julien-nc julien-nc requested a review from janepie June 16, 2025 12:08
@julien-nc julien-nc added enhancement New feature or request 0. Needs triage labels Jun 16, 2025
@julien-nc julien-nc marked this pull request as ready for review June 16, 2025 12:08
@julien-nc julien-nc force-pushed the enh/noid/template-code-response-idp-error branch from a1c8ce3 to a715488 Compare June 23, 2025 14:06
@julien-nc julien-nc enabled auto-merge June 23, 2025 14:06
@julien-nc julien-nc merged commit 6652827 into main Jun 23, 2025
39 checks passed
@julien-nc julien-nc deleted the enh/noid/template-code-response-idp-error branch June 23, 2025 14:11
@julien-nc julien-nc mentioned this pull request Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0. Needs triage enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants