# Separating signup and login on iOS client

**URL:** <https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340>\
**Category:** Get Help\
**Tags:** signup-prompt-new-experience, login-experience\
**Created:** [November 30, 2022, 1:47am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340 "2022-11-30T01:47:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wrightak](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wrightak/32/28050_2.png) [@wrightak](https://community.auth0.com/u/wrightak)\
**Post date:** [November 30, 2022, 1:47am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340/1 "2022-11-30T01:47:09Z")

</div>

I have an iOS app where I would like to have a “Signup” button and a “Login” button, each of which launches an Auth0 interface. In Universal Login, both signup and login tabs appear on the same page. We’re worried that this is confusing; account creation should be a separate concern.

At first I thought that we could at least have one of the tabs selected using parameters, but it appears this isn’t working. I filed an issue here:

> <https://github.com/auth0/Auth0.swift/issues/751>
>
> \### Checklist
> 
> \- \[X\] The issue can be reproduced in the \[Auth0.swift sample app\]…(https://github.com/auth0-samples/auth0-ios-swift-sample/tree/master/Sample-01) (or N/A).
> \- \[X\] I have looked into the \[README\](https://github.com/auth0/Auth0.swift#readme), \[Examples\](https://github.com/auth0/Auth0.swift/blob/master/EXAMPLES.md), and \[FAQ\](https://github.com/auth0/Auth0.swift/blob/master/FAQ.md) and have not found a suitable solution or answer.
> \- \[X\] I have looked into the \[API documentation\](https://auth0.github.io/Auth0.swift/documentation/auth0) and have not found a suitable solution or answer.
> \- \[X\] I have searched the \[issues\](https://github.com/auth0/Auth0.swift/issues) and have not found a suitable solution or answer.
> \- \[X\] I have searched the \[Auth0 Community\](https://community.auth0.com/tags/c/sdks/5/swift) forums and have not found a suitable solution or answer.
> \- \[X\] I agree to the terms within the \[Auth0 Code of Conduct\](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).
> 
> \### Description
> 
> Including \`.parameters(\["screen\_hint": "signup"\])\` or \`.parameters(\["prompt": "login"\])\` doesn't seem to have any effect.
> 
> I am using the Universal Login. In my app, I have a "Login" button. I don't want the signup options to appear if the user taps this. Similarly, I have a "Signup" button where I would like the opposite.
> 
> The above parameters may not give me exactly what I want, but at the moment they don't seem to do anything.
> 
> \### Reproduction
> 
> Add the screen\_hint or prompt parameters described above.
> 
> \### Auth0.swift version
> 
> 2.3.2
> 
> \### Platform
> 
> iOS
> 
> \### Platform version(s)
> 
> 16.0
> 
> \### Xcode version
> 
> 14.0.1
> 
> \### Package manager
> 
> Cocoapods

But even this wouldn’t be ideal. What’s the recommended way of handling this?

Looking at this post from May:

> [@How can I display Universal Login with Sign-Up-only page on iOS?](https://community.auth0.com/t/how-can-i-display-universal-login-with-sign-up-only-page-on-ios/62580):
>
> 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: Auth0 .webAuth() .scope("openid profile email") .audience("https://my.api") .start …

It appears that the only way to separate these concerns is to use the legacy Lock SDK? This doesn’t sound ideal either.

---

<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:** [November 30, 2022, 11:06am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340/2 "2022-11-30T11:06:36Z")

</div>

Hey there!

I saw that you are already in conversation with Rita so maybe she will be able to share with you any workaround available cause as you shared the post from May it involves legacy SDK. While you wait for her answer you can still advocate for that by creating a feedback card using our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![wrightak](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wrightak/32/28050_2.png) [@wrightak](https://community.auth0.com/u/wrightak)\
**Post date:** [December 1, 2022, 12:15am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340/3 "2022-12-01T00:15:50Z")

</div>

@konrad.sopala Thanks for the reply. Rita kindly helped me figure out my problem. I gave feedback in that issue that the UI for selecting the New Universal Login is confusing. Even though it appears selected, and the classic login appears deselected, the classic login is actually being used if the customize login page switch on the next tab is on.

I’m not a designer, so all I can say is that I was confused and wasted my own time and yours, but it seems that the switch shouldn’t even be available unless you select the classic login.

---

<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:** [December 2, 2022, 11:18am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340/4 "2022-12-02T11:18:53Z")

</div>

Sorry for the inconvenience and really appreciate your feedback!

---

<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:** [December 16, 2022, 11:19am UTC](https://community.auth0.com/t/separating-signup-and-login-on-ios-client/95340/5 "2022-12-16T11:19:48Z")

</div>

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