Allow errors to be handled via callback instead of redirecting to fixed URL based on config #13290
kevinvrenewi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
We need to implement localization support in our app. For a proper customer experience, it must be possible to redirect a user to a localized login page as well as any error pages.
Background
We have a localized app in various languages. Whenever an error occurs in the callback from the IdP, a redirect to a fixed error page is being done. This URL is not localized which is confusing for our end users.
Proposal
Allow custom callback for error handling so we can write a cookie with the locale when redirecting a user away and read out this cookie whenever an error occurs in order to redirect the user to the proper localized error page.
Beta Was this translation helpful? Give feedback.
All reactions