Auth0 Home Blog Docs

Auto login user after email verification link click



Currently I am able to provide a redirectTo field so that a user can be taken back to my application after he clicks the email verification link. But I want to log him directly after this confirmation. For that I need a way to be able to put the access_token and id_token fields to that redirect url.

Overall how do I get the user to login directly after clicking on the verification email link.

I am using the standard lock widget in a modal popup( redirect: false mode) because its a SPA.