# Prefill with Classic Universal Login?

**URL:** <https://community.auth0.com/t/prefill-with-classic-universal-login/39790>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [March 23, 2020, 8:47am UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790 "2020-03-23T08:47:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tkav/32/15515_2.png) [@tkav](https://community.auth0.com/u/tkav)\
**Post date:** [March 23, 2020, 8:47am UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/1 "2020-03-23T08:47:00Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 24, 2020, 4:36pm UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/3 "2020-03-24T16:36:22Z")

</div>

Hi @tkav,

Welcome to the Community!

I don’t think you will be able to do this without using the customization feature of Classic UL. It sounds like you have already seen [this topic](http://community.auth0.com/t/prefilling-email-address-for-hosted-login-page/20984).

Hope that answers your questions,  
Dan

---

<div class="post-metadata">

**Author:** ![tkav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tkav/32/15515_2.png) [@tkav](https://community.auth0.com/u/tkav)\
**Post date:** [March 25, 2020, 11:09am UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/4 "2020-03-25T11:09:19Z")

</div>

Thank you for the reply!

Yes, I have seen that topic. It’s part of the reason I expected non-customized feature of Classic UL would pick up `login_hint`.  
I have an ongoing ticket on this topic, and I’ll let you all know if turns out there is a built-in solution for that but I don’t have high hopes since you work at Auth0 so you’d know if there were one ☹ .

Thanks!

---

<div class="post-metadata">

**Author:** ![tkav](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tkav/32/15515_2.png) [@tkav](https://community.auth0.com/u/tkav)\
**Post date:** [March 25, 2020, 11:30am UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/5 "2020-03-25T11:30:07Z")

</div>

Update: Something apparently changed on Auth0’s side since this now works without any changes on our side. I’m closing the topic as this is no longer an issue.

Thank you to the person that made it happen!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 25, 2020, 7:34pm UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/6 "2020-03-25T19:34:57Z")

</div>

Thanks for the update!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 9, 2020, 7:34pm UTC](https://community.auth0.com/t/prefill-with-classic-universal-login/39790/7 "2020-04-09T19:34:58Z")

</div>

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