Redirect after email verification with authenticated user state
-
Hi
Once user completes email verification. User lands on dead end page /email/complete
So, we added custom logic in the theme to redirect user to SPA
But, the user does not have session, if they are clicking the verification link after their previous session expired or opening in new session.
Is it possible to get same behaviour for /email/complete as it now for redirect after registration with authenticated user state in url?
-
Are you saying you'd like the user to be logged in the same way after email verification which they are after a user registers?
And you are using the FusionAuth hosted login pages (not building your own), correct?
-
Are you saying you'd like the user to be logged in the same way after email verification which they are after a user registers?
Exactly.
We have modified the themes. But they are hosted in fusionauth cloud.
-
I am talking about this page. This page is dead end.
-
Ah, I see. Yes, this is new functionality; the javascript redirect is the best option currently, but that won't automatically log a user in.
If you have a support contract, please open a support ticket.
Otherwise, please file a feature request in our github issues repo.