So I worked this out. I had put logic into the original tenants first party connect app to handle the redirection on an error response from the Auth0 /Authorise endpoint.
I’ve kind of gone full circle don’t feel like I have found a good solution to the problem I am trying to solve. Could you add any thoughts?
Essentially, I want a better User experience on first login when they haven’t yet verified their email
Users sign up using the Universal Hosted Lock (Classic)
This triggers the first login which will always fail because…
A rule asserts that the user has not verified and therefore throws a Unauthorized error.
this is passed back to the calling app
We have multiple Apps and therefore multiple “entry” points for users to first sign up. Given the way it works today I must test and cater for each app route that a user could sign up from.
I’d prefer that after sign-up the user is sent to a holding page. Informing them they are not yet verified and to click “continue” once they have clicked the verification link sent to them.
Is there any clean easy way to have this type of generic error/holding page all within the Auth0 tenant?