Don't redirect after successful login

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!


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.

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?