Automatic Login after Signup

I use the Universal Login as a Signup page by adding screen_hint: 'signup' parameter.

$link = "https://{AUTH0_DOMAIN}/authorize?scope=openid%20profile%20email&response_type=code&client_id={AUTH0_CLIENT_ID}&prompt=login&screen_hint=signup&redirect_uri={MY_APP_DOMAIN}/dashboard/"

MY_APP_DOMAIN/dashboard/ is set as the Application Login URI of my Machine to Machine Application.

Once a user signs up and is redirected to redirect_uri, I want them to be automatically logged in.
Is it possible?

I’ve thoroughly scoured the community and checked almost all posts related to this topic.
However, even with a massive amount of posts, I couldn’t reach a concrete conclusion.

This post has determined that having a login page and a redirect destination on different domains is problematic.

Does the login page refer to Universal Login Page?
In that case, Do I need a custom domain to customize the domain of Universal Login Page?

I’ve spent countless hours on this problem and it’s really getting me down.
I would be very grateful for a clear explanation.

Hi @t.fukao,

Yes, this is possible. When using Universal Login, the user is automatically logged in after signing up. You must ensure that your redirect_uri points to one of the callback URLs you specified in your app’s Allowed Callback URLs list.

Yes, the login page does refer to the Universal Login Page. And yes, you would need a custom domain if you intend to replace your canonical domain with something else.

Thanks,
Rueben

1 Like

Thank you @rueben.tiow .
I greatly appreciate you taking the time to provide me with the most current and reliable information

1 Like

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