# Getting Auth0 React SDK to go directly to signup page

**URL:** <https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242>\
**Category:** Get Help\
**Tags:** api, login, auth0\
**Created:** [February 21, 2021, 10:39pm UTC](https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242 "2021-02-21T22:39:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamntn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tamntn/32/14799_2.png) [@tamntn](https://community.auth0.com/u/tamntn)\
**Post date:** [February 21, 2021, 10:39pm UTC](https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242/1 "2021-02-21T22:39:17Z")

</div>

I’m struggling to find a solution to get the React SDK to go directly to the signup page. I’m using the New Universal Login Experience and I’ve read from the documentation that you can specify `screen_hint=signup` but I’m clueless on how to apply this with the React SDK (“@auth0/auth0-react”: “1.3.0”) through `loginWithRedirect` method.

If someone could help with an example code snippet that’d be much appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 22, 2021, 1:55pm UTC](https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242/2 "2021-02-22T13:55:25Z")

</div>

Hi @tamntn ,

Unfortunately, the `loginWithRedirect` method does not currently support custom parameters as far as I can tell. It will only accept those listed here: [https://auth0.github.io/auth0-react/interfaces/auth0\_context.redirectloginoptions.html](https://auth0.github.io/auth0-react/interfaces/auth0_context.redirectloginoptions.html)

You can however specify this (or any other custom querystring parameters) in the `Auth0Provider` for all your interactive logins:

```
ReactDOM.render(
  <Auth0Provider
    domain={config.domain}
    clientId={config.clientId}
    audience={config.audience}
    redirectUri={window.location.origin}
    screen_hint="signup"
    onRedirectCallback={onRedirectCallback}
  >
    <App />
  </Auth0Provider>,
  document.getElementById("root")
);

```

---

<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:** [February 23, 2021, 3:43pm UTC](https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242/3 "2021-02-23T15:43:27Z")

</div>

Thanks for helping with this one Steve!

---

<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:** [March 10, 2021, 3:44pm UTC](https://community.auth0.com/t/getting-auth0-react-sdk-to-go-directly-to-signup-page/58242/4 "2021-03-10T15:44:05Z")

</div>

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