# How do I Implement screen\_hint in a Next.js app using Auth0-react package

**URL:** <https://community.auth0.com/t/how-do-i-implement-screen-hint-in-a-next-js-app-using-auth0-react-package/85163>\
**Category:** Get Help\
**Tags:** react, auth0\
**Created:** [June 15, 2022, 12:58pm UTC](https://community.auth0.com/t/how-do-i-implement-screen-hint-in-a-next-js-app-using-auth0-react-package/85163 "2022-06-15T12:58:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamimoh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/williamimoh/32/35697_2.png) [@williamimoh](https://community.auth0.com/u/williamimoh)\
**Post date:** [June 15, 2022, 12:58pm UTC](https://community.auth0.com/t/how-do-i-implement-screen-hint-in-a-next-js-app-using-auth0-react-package/85163/1 "2022-06-15T12:58:03Z")

</div>

Please include the following information in your post:

- Which SDK this is regarding:
- SDK Version: “1.10.1”
- Platform Version:
- Code Snippets/Error Messages/Supporting Details/Screenshots:

**Is this a feature request or bug report?** If so, please create an issue directly in the corresponding GitHub repo. The Community SDK category is for general discussion and support.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [September 29, 2025, 3:52pm UTC](https://community.auth0.com/t/how-do-i-implement-screen-hint-in-a-next-js-app-using-auth0-react-package/85163/3 "2025-09-29T15:52:00Z")

</div>

Hi There!

Welcome to the Auth0 Community!

Thank you for posting your question. You can have users land directly on the signup page instead of the login page by specifying the `screen_hint=signup` parameter when redirecting to `/authorize`. You can combine this paramter with `prompt=login` to indicate whether you want to always show the authentication page or skip the page if an existing session exists.

> There are 2 ways to customize the authorization parameters that will be passed to the /authorize endpoint. The first option is through static configuration when instantiating the client, like so:

```auto
export const auth0 = new Auth0Client({
   authorizationParameters: {
     scope: "openid profile email",
     audience: "urn:custom:api"
   }
 });

```

> The second option is through the query parameters to the /auth/login endpoint which allows you to specify the authorization parameters dynamically. For example, to specify an audience, the login URL would look like so:
> 
> `<a href="/auth/login?audience=urn:my-api">Login</a>`

| /authorize parameters | No existing session | Existing session |
| --- | --- | --- |
| no extra parameters | Shows the login page | Redirects to the callback url |
| screen\_hint=signup | Shows the signup page | Redirects to the callback url |
| prompt=login | Shows the login page | Shows the login page |
| prompt=login&screen\_hint=signup | Shows the signup page | Shows the signup page |

> <https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#passing-authorization-parameters>

> **[Universal Login Experience](https://auth0.com/docs/authenticate/login/auth0-universal-login/universal-login-vs-classic-login/universal-experience#multi-factor-authentication)**
>
> An overview of the Universal Login experience

Thanks  
Dawid

---

<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:** [October 13, 2025, 3:52pm UTC](https://community.auth0.com/t/how-do-i-implement-screen-hint-in-a-next-js-app-using-auth0-react-package/85163/4 "2025-10-13T15:52:38Z")

</div>

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