Ready to post? First, try searching for your answer.
Hello, for context we are using the nextjs auth0 sdk. Using the redirectTo field in the verification email custom email template, I was able to set up having the user be redirected to our login page successfully after verifying their email. The problem is when i tried doing the same for the reset-password email flow, it does not work at all. Not only does it not work, it shows a button instead, and when this button is clicked, it returns the user to the login page, which is fine. But then when the user goes through the whole login flow, instead of returning them back to the site, they get returned to a completely different site that we didnt set anywhere “test-developer.libertymutual.com”. Our custom domain is set to “auth.test-developer.libertymutual.com” but besides that we dont have that url anywhere, our site uses a completely different URL.
Welcome to the Auth0 Community!
When the user clicks the “back to application” button, it redirects them to the Tenant Login URI.
I recommend going to your Dashboard > Settings > Advanced > Tenant Login URI and ensure that the URI points to your login page using your custom domain.
After that’s done, users will be redirected to that URI when they click on the “back to application button”.
Thanks,
Rueben
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.