--- title: "Scenario: User Login with OTP" slug: "oca-fig-scenario-user-login-with-otp" updated: 2026-02-24T17:14:55Z published: 2026-02-24T17:14:55Z canonical: "docs.onespan.com/oca-fig-scenario-user-login-with-otp" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Scenario: User Login with OTP This scenario uses the following workflow tree: ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/fr.user_login_with_otp.png?sv=2026-02-06&spr=https&st=2026-11-18T01%3A35%3A05Z&se=2026-11-18T02%3A35%3A05Z&sr=b&sp=r&sig=zlQWGEtHsemYX%2Fed%2BOSydGO7bswxLlsSDeCT1vFX5Rk%3D) User login with OTP workflow tree ## Before you begin Ensure that you have completed the steps described in [Scenario: Offline user registration and Digipass activation](/sec/docs/oca-fig-scenario-offline-user-registration-and-authenticator-activation). ## Walkthrough: User login with OTP Walkthrough: User login with OTP 1. Use the following URL to start the process: https://your_instance_url/openam/XUI/?realm=/&service=OneSpan-XUI-Cloud-Authentication-User-Login-OTP-Sample-Tree#login The ForgeRock login dialog is displayed. 2. Enter your user name. ![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/fr.login_dialog_otp.png?sv=2026-02-06&spr=https&st=2026-11-18T01%3A35%3A05Z&se=2026-11-18T02%3A35%3A05Z&sr=b&sp=r&sig=9lfPeqkV2tkxN2FeXZ4bhye4faSRvC%2B1Y5aJrfLl20U%3D) ForgeRock login dialog 3. Launch the Mobile Authenticator Studio app and tap OTP in the Applications list. 4. Verify your identity. The app generates your OTP. 5. Enter the OTP in the login dialog and click LOG IN. The OCA Login service validates the OTP and returns the validation result. If the authentication has succeeded, the browser will be redirected to the success URL. For more information about the user login process with OTP in general, see [Integrating end-user login with one-time password (OTP)](/sec/docs/oca-ig-integration-of-offline-user-registration-and-authenticator-activation). ## Additional considerations The workflow tree uses the following sample node: - [OneSpan Sample Attributes Collector](/docs/overview-of-onespan-authentication-trees-and-nodes#OneSpanSampleAttributesCollectorNode) The OneSpan Sample nodes are provided and included in the OneSpan Authentication for ForgeRock package for demonstration purposes only. You should not use these nodes in production environments, but replace them with your own node implementations. ## Next steps After completing this scenario, you can continue with [Scenario: User login with Challenge/Response](/sec/docs/oca-fig-scenario-user-login-with-challengeresponse).