# Is there a way to make auth0.handleLogin \> authorizationParams \> login\_hint read only for users?

**URL:** <https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653>\
**Category:** Get Help\
**Tags:** login\
**Created:** [August 10, 2021, 5:00am UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653 "2021-08-10T05:00:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shellymutu-grigg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shellymutu-grigg/32/31040_2.png) [@shellymutu-grigg](https://community.auth0.com/u/shellymutu-grigg)\
**Post date:** [August 10, 2021, 5:00am UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653/1 "2021-08-10T05:00:20Z")

</div>

Is there currently a way of making the text that appears in the email field in the Universal Login when the `login_hint` value is populated to be read-only and to disappear when a user clicks into the field?

Feedback from users is they do not like having to clear out the text to enter email details.

Could not seem to find this documented in the SDK or via docs

```auto
// using "@auth0/nextjs-auth0": "^1.4.2"
import { NextApiRequest, NextApiResponse } from 'next';
import { auth0 } from '@utils/auth0';

export default async function login(req: NextApiRequest, res: NextApiResponse) {
  try {
    // https://auth0.github.io/nextjs-auth0/modules/handlers_login.html#handlelogin
    await auth0.handleLogin(req, res, {
      authorizationParams: {
        login_hint: 'Enter your email address',
      },
    });
  } catch (error) {
    // Error logging
    // eslint-disable-next-line no-console
    console.error(error);
    res.status(error.status || 500).end(error.message);
  }
}

```

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 10, 2021, 11:23am UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653/2 "2021-08-10T11:23:32Z")

</div>

Hey there!

To handle that most effectively I would suggest raising it as a GitHub issue in the SDK repo. Once you open the issue make sure to share it with us here so we can ping repo maintainers. Thank you!

---

<div class="post-metadata">

**Author:** ![shellymutu-grigg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shellymutu-grigg/32/31040_2.png) [@shellymutu-grigg](https://community.auth0.com/u/shellymutu-grigg)\
**Post date:** [August 10, 2021, 8:34pm UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653/3 "2021-08-10T20:34:57Z")

</div>

Thank you for the advice.

I have raised feature request: [Make auth0.handleLogin \> authorizationParams \> login\_hint read only for users and disappear when field has focus · Issue #456 · auth0/nextjs-auth0 · GitHub](https://github.com/auth0/nextjs-auth0/issues/456)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 11, 2021, 10:22am UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653/4 "2021-08-11T10:22:11Z")

</div>

Perfect! Thanks! I’ll let them know in a minute!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 26, 2021, 10:22am UTC](https://community.auth0.com/t/is-there-a-way-to-make-auth0-handlelogin-authorizationparams-login-hint-read-only-for-users/67653/5 "2021-08-26T10:22:47Z")

</div>

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