Technique G218:Email link authentication
Applicability
Content implemented in any technology.
This technique relates to:
- 3.3.7: Accessible Authentication (Sufficient)
- 3.3.8: Accessible Authentication (No Exception) (Sufficient)
Description
The objective of this technique is to provide an easy way for users to authenticate without needing a password. This technique involves providing an authentication mechanism where the user can enter their email address, and they are sent an email with a link to click. When the user clicks the link in the email, they are directed back to the website and automatically logged in.
The security of the email link mechanism is not the focus of this technique, but it generally involves sending a time limited token as part of the email.
Examples
Example 1: Author provides an email mechanism to login with a link
A social media website has a username and password based login mechanism. As part of the forgotten password feature, there is a separate link to login with an email. When the user enters their email and submits the form, the site sends an email to the user. Clicking the link in the email opens the website and the user is logged in.
Other sources
No endorsement implied.
Tests
Procedure
For websites which allow users to login by emailing a link to the email address associated with the account:
- Enter a valid email address (with an account on the website) and use the email-link feature.
- Check that the email is received.
- Check that selecting the link opens the website.
- Check that the user account is logged in.
Expected Results
- #2, #3 and #4 are true.