adorable-camera-99335
07/22/2024, 12:29 PMcreateNativeLoginFlow
• the flow is updated with updateLoginFlow
to an oidc flow, setting a provider
• we forward the user to the provider returned via 422 - errorBrowserLocationChangeRequired
• the user returns to the provider specific redirect URI
Here an error could happen, e.g. the JSONNET mapping does fail.
When simulating the flow via the Ory provided UI, the registration mask does request the missing required fields (screenshot 1)
However, when using the native flow the user is just redirected back to the application, without any error code or further information (link redirect trace - screenshot 2)
Modifying the selfservice.flows.error.ui_url
does work for other errors which occur in the flow - and allows us to custom handle a lot of errors already. Unfortunately, it did not help in this case.
How can we show a custom error UI in the case described above? Is there any way to include some information about the issue that occurred in the redirect?
adorable-camera-99335
09/03/2024, 8:11 AMsteep-lamp-91158
adorable-camera-99335
09/03/2024, 9:19 AMsteep-lamp-91158
adorable-camera-99335
09/03/2024, 9:21 AMnarrow-van-43826
09/03/2024, 11:00 AMnarrow-van-43826
09/03/2024, 11:04 AMadorable-camera-99335
09/03/2024, 3:02 PMadorable-camera-99335
09/03/2024, 3:07 PM