-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- The issue can be reproduced in the Auth0.Android sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Passwordless SMS and email OTP submission (loginWithPhoneNumber / loginWithEmail after startPasswordlessWithPhoneNumber / startPasswordlessWithEmail) fails with AuthenticationException ("Failed to execute the network request") for users in Spain and India starting with SDK version 3.12.2. The same phone number and email work for users in the USA on the same app version.
What we confirmed during testing:
- Clean uninstall + reinstall on 3.12.2+ does NOT fix the issue
- Same device, same phone number, same app version — works in USA,
fails in Spain and India - Both SMS and email passwordless fail identically
- 3.12.1 works for the same users without any other changes
We don't have DPoP turned on currently.
Reproduction
- Install the app built with SDK 3.12.2+ on a device in Spain or India
- Enter a phone number and request a passwordless SMS OTP
- Auth0 dashboard confirms the OTP was sent successfully (sms/email arrives)
- Auth0's passwordless function runs into the error
onFailure(error: AuthenticationException)fires with "Failed to execute
network request"
Additional context
Example code how we use it:
apiClient
.passwordlessWithSMS(
phoneNumber = _loginForm.value.formattedPhoneNumber(),
passwordlessType = PasswordlessType.CODE,
)
.start(
object : Callback<Void?, AuthenticationException> {
override fun onSuccess(result: Void?) {
// continue to OTP screen
}
override fun onFailure(error: AuthenticationException) {
// log error
}
},
)
Auth0.Android version
3.12.2 and 3.13.0
Android version(s)
8 to 16
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code