# React Native - Direct user to SignUp page

**URL:** <https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [March 6, 2024, 9:59pm UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117 "2024-03-06T21:59:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben28](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ben28](https://community.auth0.com/u/ben28)\
**Post date:** [March 6, 2024, 9:59pm UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/1 "2024-03-06T21:59:50Z")

</div>

I’ve seen a lot of older posts about using “screen\_hint” and setting to “signUp”, and passing that along with the /authorize url as a query param.

However, these old posts all reference parts of the package that aren’t available anymore. I’m just wondering how to do that now with react native? I can’t see anything in the docs that points towards being able to pass that into authorize()

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 6, 2024, 10:52pm UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/3 "2024-03-06T22:52:05Z")

</div>

Hey there @ben28 welcome to the community!

> [@ben28](#):
>
> However, these old posts all reference parts of the package that aren’t available anymore. I’m just wondering how to do that now with react native? I can’t see anything in the docs that points towards being able to pass that into authorize()

Do you mind sharing the specific details around which parts of the package aren’t available anymore? As far as I’m aware, if you are using New Universal Login you should be able to pass the extra param `webAuth`:

```auto
auth0.webAuth.authorize({
  scope: scope,
  login_hint: email,
  screen_hint: 'signup', // 👈🏻
});

```

---

<div class="post-metadata">

**Author:** ![ben28](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ben28](https://community.auth0.com/u/ben28)\
**Post date:** [March 7, 2024, 8:30am UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/4 "2024-03-07T08:30:50Z")

</div>

Hey @ty.frith ,

Yeah it was things around using “loginWithRedirect”, which I couldn’t see any reference to in the react native docs.

So I’ve tried doing it this way:

```auto
const { authorize } = useAuth0();
const login = async () => {
    await authorize({ screen_hint: 'signup' })
}

```

That one doesn’t seem to do anything. Also tried similar to how you suggested there:

```auto
const auth0 = new Auth0({ domain: 'mydomain', clientId: 'myclientid' })
const login = async () => {
    await auth0.webAuth.authorize({ screen_hint: 'signup' })
}

```

That doesn’t appear to work either 🤷

---

<div class="post-metadata">

**Author:** ![napatworks](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@napatworks](https://community.auth0.com/u/napatworks)\
**Post date:** [March 8, 2024, 6:09am UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/5 "2024-03-08T06:09:47Z")

</div>

Face the same issue. I managed to do it by adding those parameters to additionalParameters

```auto
await authorize({
  additionalParameters: { screen_hint: "signup" }
});

```

---

<div class="post-metadata">

**Author:** ![ben28](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ben28](https://community.auth0.com/u/ben28)\
**Post date:** [March 8, 2024, 11:15am UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/6 "2024-03-08T11:15:38Z")

</div>

Ah @napatworks you’re a star! That was it, thank you 🙂

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [March 8, 2024, 11:23pm UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/7 "2024-03-08T23:23:33Z")

</div>

Ah! Great catch, thanks for sharing ❤

---

<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 22, 2024, 11:24pm UTC](https://community.auth0.com/t/react-native-direct-user-to-signup-page/129117/8 "2024-03-22T23:24:23Z")

</div>

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