Hi there,
Our goal is to prefill e-mail address for signups/logins in certain cases.
Based on a number of community answers/docs we’ve added the following code to our Angular code:
this.auth0.authorize({ our_url: window.location.origin, login_hint: email ? email : '' });
(focus being on login_hint
this time).
It works without a problem in our dev tenant when using Classic Universal Login with a login page that is customized but is 99% the default Lock template (which puts login_hint
to config.extraParams
and constructs lock
with prefill
already set if present by default).
The problem we’ve run into is the following:
On production, we have a Classic Univeral Login page, but it is not customized (and we’d prefer to keep it that way for ease of maintenance). I’d expected that the uncustomized login page would be very similar to the default Lock template but that doesn’t seem to be the case.
It loads data into authParams
(including login_hint
) and sets lock.auth.params
to authParams
but that does not set prefill to login_hint
.
My question is the following: Can we still pass login_hint
to the Classic Universal Login page without customizing it?
Thanks in advance!