Prefill email in auth registration page through url?

Hi,

We are trying to send an email to specific people with a link to register on our auth0 implementation, but using a specific email (the one we send the email to). (reason: user is allready customer with that email, but does not have an account).

How can we prefill the email for their registration? Is that possible? If needed, we can go through our website and post the email, if thats required.

Cheers

edit: using classic

If they are already a customer, you could create their account for them, then send them a “password reset” email, but change the wording to “Welcome to [our service]! Please click here to set your password.” This way you skip registration altogether. Smoother experience for the user.

I cant use that method, as the registration form has a lot of custom fields they are supposed to fill in.
I tought we could use the login hint?

1 Like

Yes, you can pass a login_hint parameter in the authorize request (or whatever SDK you’re using, i.e. in the loginWithRedirect method call as parameter). This would prefill the email address field in the login/registration widget.

2 Likes

hello, is it possible to do something similar to this for additionalSignupFields?

I have added a ‘Referral Code’ field to the universal log in component and I am trying to enable a workflow for allowing an email to be sent to a new user with a link to the sign up URL that auto-populates this Referral field with a variable Referral Code

Unfortunately for the additionalSignupFields that won’t work

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

Hi team! :raised_hand_with_fingers_splayed:

This is just a heads-up that we’ll be hosting an Ask Me Anything (AMA) session all about Universal Login, and this question is relevant to our event. Auth0 by Okta Subject Matter Experts will answer your question on Thursday, October 24th, from 9 a.m. to 11 a.m. PST.

:thinking: Have more questions about customizing your login experience, boosting security, or implementing advanced features?

:point_right: Drop your questions in this thread before October 23rd, and our experts will provide answers during the AMA!

:tada: Plus, you’ll earn points and a special badge for participating!

Ask Me Anything: Tailor Your Experience with Universal Login — From Low-Code to Pro-Code

Thanks
Dawid