# How can I display Universal Login with Sign-Up-only page on iOS?

**URL:** <https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580>\
**Category:** Get Help\
**Tags:** ios, universal-login\
**Created:** [May 11, 2021, 12:10pm UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580 "2021-05-11T12:10:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pjuzeliunas](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pjuzeliunas/32/19177_2.png) [@pjuzeliunas](https://community.auth0.com/u/pjuzeliunas)\
**Post date:** [May 11, 2021, 12:10pm UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580/1 "2021-05-11T12:10:31Z")

</div>

Typical Universal Login page on iOS contains both, Sign-Up and Sign-In flows in one window. Is there a way of disabling one of the options and displaying just a Sign-Up (or just a Sign-In) page using Auth0 SDK for iOS?

Right now I cannot find a way of providing a hint to Auth0 which page to show. The following code displays Universal Login page with both (Sign-In and Sign-Up) options on iOS app:

```auto
Auth0
    .webAuth()
    .scope("openid profile email")
    .audience("https://my.api")
    .start { result in
        // process result
    }

```

SDK version: 1.33.0  
Platform version: iOS 14

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [May 11, 2021, 7:00pm UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580/3 "2021-05-11T19:00:52Z")

</div>

Hi @pjuzeliunas,

You should be able to set the initial screen to sign up like so for the Classic Login Experience:

```auto
Auth0
    .webAuth()
    .scope("openid profile email")
    .parameters(["initialScreen": "signUp"]) // <-- Add "initialScreen" parameter
    .audience("https://my.api")
    .start { result in
        // process result
    }

```

And this for the New Universal Login Experience:

```auto
Auth0
    .webAuth()
    .scope("openid profile email")
    .parameters(["screen_hint": "signup"]) // <-- Add "screen_hint" parameter
    .audience("https://my.api")
    .start { result in
        // process result
    }

```

[https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520](https://community.auth0.com/t/how-do-i-redirect-users-directly-to-the-hosted-signup-page/42520)

---

<div class="post-metadata">

**Author:** ![pjuzeliunas](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pjuzeliunas/32/19177_2.png) [@pjuzeliunas](https://community.auth0.com/u/pjuzeliunas)\
**Post date:** [May 12, 2021, 11:49am UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580/4 "2021-05-12T11:49:17Z")

</div>

Thank you for your answer. `screen_hint` parameter with `signup` value makes direct landing on sign-up page possible. However, user still has an option to log-in by tapping on the link bellow the input fields. Is there a way of disabling the log in option (link) in this particular case?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [May 12, 2021, 11:52am UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580/5 "2021-05-12T11:52:59Z")

</div>

To not show the login option at all, you will need to use the Classic Universal Login Experience and customize the login template and use the [allowLogin](https://auth0.com/docs/libraries/lock/lock-configuration?&_ga=2.4530870.464884123.1620041333-1595415333.1607347674&_gac=1.14136005.1620663261.Cj0KCQjws-OEBhCkARIsAPhOkIbhK13acrxZIWhKyPE4GlpGf7ZKmKpxtmuQbD_VcaLmyScFgvNZcmAaAntFEALw_wcB#allowlogin-boolean-) setting in the Lock configs. Unfortunately, this is not possible with the New Universal Login at this time.

---

<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:** [May 27, 2021, 11:53am UTC](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580/6 "2021-05-27T11:53:52Z")

</div>

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