Hi Vlad. Thanks for the quick turn around.
I do have a similar implementation. I just have 2 concerns because I’m using I’m using Auth0AuthProvider
from ra-auth-auth0
and Auth0Client
from @auth0/auth0-spa-js
in my react SPA
-
The user record is still created. One consideration i had was to call a management API endpoint to trigger a delete user operation to resolve this. Is there a better approach you’d suggest?
-
Because the user record is created the
auth-callback
on the login error causes a loop when the user tries to sign in again. In the backend when i delete the user and try to sign in, it goes to the login page. Is there a way to skip this step? By pass the callback page in this instance and revert to the login page with the error?