Skip to content

Users outside US can no longer log in. Regression from 3.12.1. #929

@alexRocket891

Description

@alexRocket891

Checklist

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

  1. Install the app built with SDK 3.12.2+ on a device in Spain or India
  2. Enter a phone number and request a passwordless SMS OTP
  3. Auth0 dashboard confirms the OTP was sent successfully (sms/email arrives)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions