We are attempting to use Auth0 as our identity provider for our project. It's all set up just fine. However, we added an action in auth0 that denys user login if they haven't verified their email yet.
api.access.deny('Please verify your email before logging in.');
Something like that in Auth0.
This does deny the login, however it just redirects back to the login screen. According to auth0 docs, the deny reason is passed to the returning redirect as query params.
How would I be able to access these query params after being redirected back?