Hi,
is it possible on iOS to choose which tab (“Sign Up” or “Log in”) is pre-selected on the hosted Lock page? Or how can we pass the initialScreen Lock configuration option to Lock when implemented as described in this guide Add Login to Your iOS or macOS Application using the Auth0.swift SDK - Auth0 Docs
Auth0
.webAuth()
.scope("openid profile")
.audience("https://YOUR_AUTH0_DOMAIN/userinfo")
.start {
switch $0 {
case .failure(let error):
// Handle the error
print("Error: \(error)")
case .success(let credentials):
// Do something with credentials e.g.: save them.
// Auth0 will automatically dismiss the login page
print("Credentials: \(credentials)")
}
}
Thanks
Filip