Login with OTP

Prerequisites: The resident is issued with a unique virtual ID for a country's foundation ID. In the below demo application, which is a health portal, the resident is registered with MOSIP and has a valid UIN or VID.

1. On the portal, the resident clicks on the button Sign In with eSignet.

The login screen appears and the resident is displayed with the options they can choose for login.

2. To get started with login with OTP authentication, the resident clicks on Login with OTP option.

3. The resident needs to enter a valid VID in the Enter Your VID text field and check the box 'I'm not a robot'.

The OTP-based authentication is now secured with a captcha.

4. Next, the resident clicks on the Get OTP button.

5. The resident receives the OTP on the registered channel (either the phone or email).

6. The resident needs to enter the valid OTP received and click on the Verify button.

7. The resident is then navigated to the Consent page. On this page, the Essential and Voluntary claims are displayed.

The consent screen is presented solely to the resident if consent has not previously been obtained. Additionally, a timer is incorporated into the Consent screen, allowing the resident to provide a response within the designated time frame. In the event that the allotted time elapses, residents will be redirected to the relying party user interface.

8. The resident is given the option to choose from a list of Authorized scopes and Voluntary claims. The Essential claims are mandatory and cannot be modified. A master toggle button has been added to allow residents to select all the options at once if desired.

9. The resident should now click the Allow button. The system navigates the resident to the User Profile page which displays all the personal information based on the consent provided.

Last updated

Copyright © 2021 MOSIP. This work is licensed under a Creative Commons Attribution (CC-BY-4.0) International License unless otherwise noted.