ACUL SwitchConnection with Passwordless SMS

Overview

This article discusses the supportability of changing within an Advanced Customization Universal Login (ACUL) based identifier first login flow, from an email-based login to Passwordless SMS.

Applies To

  • Advanced Customization for Universal Login (ACUL)
  • Passwordless SMS

Cause

The switchConnection method provided in the ACUL SDK does not support providing an identifier.

If this method is used to switch to an SMS connection, it results in the previously entered identifier being used as the phone number, regardless of its format.

Solution

Currently, it is not supported to change from an email based identifier to a phone number within ACUL on the login-password screen using the switchConnection method.

 

Alternatives

Redirect user to start fresh /authorize

The user could be redirected to a separate self-hosted page, which can initiate a new /authorize request. 

This request could optionally provide the connection=sms parameter and pulled from the transaction member to inform the type of input the ACUL interface will show for that login attempt.

Provide Dual Input for email or phone number on login-id

Alternatively, both forms of identifier input could be supported by the ACUL custom UI, and trigger the relevant connection to be logged into based on which fields/buttons were used.

Partial Prompt Connection Switching

Lastly, instead of using ACUL, a partial prompt customisation could be made to the page template, to allow connection switching:

Recommended content

No recommended content found...