I’m using Auth0 to authenticate in my Blazor WASM app on .NET 8. I followed this tutorial and it all works great! How to Secure Blazor WASM Applications with Auth0
Except for one thing. I’m using a custom Action that checks if the user’s email is confirmed and if it is not, it denies access. This is returned to the login-callback endpoint in the “error” and “error_description” parameters of the URL.
However, it seems that as soon as the RemoteAuthenticatorView component determines that the login failed, it redirects the user to login-failed. It also seems like if there is a “message” parameter this will get passed along. But the “error” and “error_description” parameters do not get passed along, so I have no way to tell the user what the problem was, ie their email is not confirmed.
Can anyone help? The only two things I’ve found for the same problem online are two Reddit threads that never got any replies.
Thanks!