Passwordless email verification link is not working as expected way

I’ve implemented passwordless email authentication with magic link, and when clicking the verification link in the email, it successfully verifies the user. However, instead of authorizing the user and redirecting them to the dashboard as expected, it redirects them back to the login screen

When using the Auth SDK function to check whether the user is authenticated, it incorrectly shows as false even after the verification link has successfully verified the user.

I am not sure what is the issue with verification link

Hi @gopinath22121994

Welcome to the Auth0 Community!

To redirect the users after user verification via a magic link, you can set up the Redirect To URL in the Branding → Email Templates → Verification Email (using Link).

The user will be redirected to this URL after the action finishes. You can use the {{ application.name }} and {{ application.callback_domain }} variables. See Configuring the Redirect To URL for more information.

Thanks
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.