Auth0 Home Blog Docs

Don't redirect after successful login

no-redirect

#1

Hi,
I’m not sure if this has been asked before but is there a way to not redirect the page after a successful login?
We are using a Javascript modal on the login and we want to show the success page within a modal without reloading a page. I’ve tried using other way like loginAndSignup() but it is still redirecting the the redirect URI. Please advise!

Regards,
Ruby


#2

This post might be a bit vague but we are using JS sdk to implement this signup and login. Would be most appreciated if anyone here can enlighten us with this issue.