You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
we are trying to implement Passwordless login natively on iOS and Android and encountered an issue.
The emails we get from setting up Passwordless and sending ourselves a test email are visually different than the email we expect would like to get from the SDK method request. Also, the email from the SDK method request does not open the app because the universal link piece is missing in front of the link when we select iOS or Android type.
We want to get an Email with a redirect link with the OTP in the URL and an OTP code should be shown in the email. To make sure that customers that have email client not on the phone can enter their OTP code.
This is what we used on both platforms
Auth0
.authentication()
.startPasswordless(email: "test@gmail.com", type: .iOSLink)
.start { result in
switch result {
case .success:
print("Auth0 Sent OTP to test@gmail.com!")
case .failure(let error):
print("Auth0: \(error)")
}
}
Reproduction
Add SDK
Enable Passwordless
Request auth on native mobile application
Auth0.swift version
2.3.2
Platform
iOS
Platform version(s)
16.2
Xcode version
14.2
Package manager
SPM
The text was updated successfully, but these errors were encountered:
the email from the SDK method request does not open the app because the universal link piece is missing in front of the link
Testing this I get a link like https://ritazerrizuela.auth0.com/ios/com.example.test/email?code=111111. For this link to open your iOS app, you need to set up Universal Links. See auth0/Lock.swift#665
an OTP code should be shown in the email. To make sure that customers that have email client not on the phone can enter their OTP code.
I'm afraid this is out of the scope of the SDK, please contact support to file a feature request.
Checklist
Description
Hello,
we are trying to implement Passwordless login natively on iOS and Android and encountered an issue.
The emails we get from setting up Passwordless and sending ourselves a test email are visually different than the email we expect would like to get from the SDK method request. Also, the email from the SDK method request does not open the app because the universal link piece is missing in front of the link when we select iOS or Android type.
We want to get an Email with a redirect link with the OTP in the URL and an OTP code should be shown in the email. To make sure that customers that have email client not on the phone can enter their OTP code.
This is what we used on both platforms
Reproduction
Auth0.swift version
2.3.2
Platform
iOS
Platform version(s)
16.2
Xcode version
14.2
Package manager
SPM
The text was updated successfully, but these errors were encountered: