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 { result in
// process result
}
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?
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 setting in the Lock configs. Unfortunately, this is not possible with the New Universal Login at this time.