Single factor authentication: Password or security questions
For this use case, an authentication chain is set up to allow authentication with either a password or security questions. Even if the password is incorrect, the user may still proceed further down the chain to try logging in using their security questions.
This can be implemented by configuring a custom authentication chain:
Module | Control type |
---|---|
Password authentication ( | sufficient |
Security questions ( | binding |
When a user logs in:
The user chooses the custom authentication chain and enters a password.
If the password is entered:
Correctly, then the user is immediately logged into the Front-end.
Incorrectly, then the authentication chain continues and the user is prompted to answer their security questions.
If the answers to the security questions are:
Valid, then the user is immediately logged into the Front-end .
Invalid, then the user is redirected to the main page to select an authentication method to use to log in. This is because the Control type for the
response.pss
module is set tobinding
, so the chain fails if an invalid answer is entered. Also, thepassword.pss
module has the Control type set tosufficient
, which requires at least one module to succeed authentication.