Two Factor Authentication - User Guide (Agent Desk)
There are 2 two-factor authentication channels, implemented in the Keycloak Adapter, which will be available to the end user for authenticating himself with two-factor authentication. These channels are:
Google Authenticator Mobile App
SMS
Workflow for End-User
Following will be the steps performed by the user to access the applications with two factor authentication.
2FA with Google Authenticator
User has not registered for 2FA
User enters his login credentials on login screen (Image1) and clicks “Login”.
User will be redirected to another screen where a QR code (Image2) and secret code (Image3) will be shown to user for registration.
There will also be an input field for OTP.(Image2 and image3)
User will scan QR code through Google Authenticator or enter secret code manually in the app.
An OTP will be displayed to user with his username. A new OTP will be generated after every 30 seconds.
User will enter the OTP (which is currently visible in app) in OTP field and click “Register”.
If OTP is valid then user will be successfully logged in and registered for 2FA.
User has already registered for 2FA
User enters his login credentials on login screen (Image1) and clicks “Login”.
User will be redirected to another screen (Image4) where an input field will be shown to user to enter OTP.
User will enter the OTP (which is currently visible in app) in OTP field and click “Send”.
If OTP is valid then user will be successfully logged in.
2FA with SMS
User has not registered for 2FA
User enters his login credentials on login screen (sms image 1) and clicks “Login”.
User will be redirected to another screen (sms image 2) and will be prompted to enter his phone number in the input field shown to him for 2FA registration.
User will enter his phone number in input field and click “Register”.
A dialogue box will be displayed (sms image 3) to user to confirm his phone number.
If it’s wrong then user will be allowed to edit his phone number.
If it’s correct then an OTP will be sent to user via SMS.
User can also request to resend OTP (if it is not received) by clicking “Resend OTP” button.
An input field will be shown to user to enter the OTP.(sms image 4)
If OTP is valid then user will be successfully logged in and registered for 2FA.
User has already registered for 2FA
User enters his login credentials on login screen (sms image 1) and clicks “Login”.
User will be redirected to another screen (sms image 4) where an input field will be shown to user to enter OTP sent to his phone number.
If OTP is not received then user can re-login to receive another OTP.
User will enter the OTP received via SMS in OTP field and click “Send”.
If OTP is valid then user will be successfully logged in.