- 23 Oct 2024
- 1 Minute à lire
- SombreLumière
Local Authentication
- Mis à jour le 23 Oct 2024
- 1 Minute à lire
- SombreLumière
With the local authentication feature of the OneSpan Orchestration SDK, the user can authenticate to the Customer Website using a one-time password (OTP) generated via the Customer Mobile Application. The OTP can be transmitted manually by the user, or remotely by the Customer Mobile Application. An authentication method must be defined to authenticate the user before the OTP is generated. See Authentication methods for more information.
Local authentication workflow illustrates the local authentication workflow with a manual transmission of the OTP.
Local authentication workflow
Local authentication workflow
New APIs are created for Swift users of the iOS SDK. For more information, refer to the Xcode API documentation on LocalAuthenticationDelegate for this workflow.
The user initializes an authentication request via the Customer Mobile Application (e.g. for login purposes), providing their user identifier.
The Customer Mobile Application calls the startLocalAuthentication method of the Orchestration SDK to perform the local authentication with a given authentication method (see Authentication methods for more information).
The Orchestration SDK prompts the user to authenticate by using an authentication method defined by the Customer Mobile Application.
In case of successful user authentication, the Orchestration SDK generates a one-time password (OTP), and transmits it to the Customer Mobile Application using the onLocalAuthenticationSuccess method.
The Customer Mobile Application displays the OTP to the user.
The user initializes an authentication request via the Customer Website (e.g. for login purposes), by providing their user identifier and the generated OTP. This request is transmitted to the Customer Application Server.
The Customer Application Server calls the login method of the OneSpan Trusted Identity platform to verify the OTP.
The Customer Application Server provides a response to the Customer Website by indicating the success of the authentication request.
The user is logged in to the Customer Website.
For more information about integrating this feature, see Local authentication.