Skip to content

Commit ab76087

Browse files
authored
Merge pull request #296 from aspnetzero/features-passwordless-login
Add `feature passwordless login` documents
2 parents d5ec457 + 9ccd066 commit ab76087

9 files changed

+55
-1
lines changed
+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Passwordless Login
2+
3+
ASP.NET Zero provides passwordless login feature out of the box, but it is disabled by default. It can be enabled in the `User Management` tab, on the host settings page.
4+
5+
When a user requests to login using passwordless login feature, a 6-digit unique code will be sent to users email address or phone number depending on users selection on passwordless login page.
6+
7+
- A Passwordless login code can be used only once.
8+
- When a passwordless login code is verified, it can't be used anymore.
9+
10+
![Passwordless login settings](images/passwordless-login-settings.png)
11+
12+
In a multi-tenant application, passwordless login is available to tenants if it's enabled in the host settings. Additionally, depending on which type of passwordless login verification is active, tenants also have the option to enable or disable the active type on the settings page.
13+
14+
If any of the passwordless login options are turned on, a section for passwordless login will be displayed on the login screen as shown in the screenshot below.
15+
16+
![Passwordless login click here](images/passwordless-login-click-here.png)
17+
18+
If a user wants to log in using passwordless login, the user will be directed to the verification screen for authentication after clicking on the `click here` link.
19+
20+
## Verification Type
21+
22+
The current options for passwordless login verification include **Email** and **SMS** authentication methods.
23+
24+
If multiple verification types are active, the selection screen for verification types appears as shown below.
25+
26+
![Passwordless login verification type](images/passwordless-login-verification-type.png)
27+
28+
### Email Verification
29+
30+
If only the email verification type is active, the screen for entering the email address is displayed as shown below.
31+
32+
![Passwordless login email verification](images/passwordless-login-email-verification.png)
33+
34+
### SMS Verification
35+
36+
If only SMS verification is active, the screen for entering the phone number will appear as shown below.
37+
38+
![Passwordless login sms verification](images/passwordless-login-sms-verification.png)
39+
40+
## Verify Passwordless Code
41+
42+
After filling in the necessary fields according to the chosen verification type, a verification code will be sent to the selected method (Email or SMS) for authentication.
43+
44+
![Passwordless login verify passwordless code](images/passwordless-login-verify-passwordless-code.png)
45+
46+
After entering the verification code correctly, user will be authenticated and redirected to the home page of the application.
40.9 KB
Loading
Loading
54.3 KB
Loading
Loading
Loading
Loading

docs/en/nav-aspnet-core-angular.json

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
{
4141
"text": "Token Based Authentication",
4242
"path": "Features-Angular-Token-Based-Authentication.md"
43+
},
44+
{
45+
"text": "Passwordless Login",
46+
"path": "Features-Passwordless-Login.md"
4347
}
4448
]
4549
},

docs/en/nav-aspnet-core-mvc.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
{
3131
"text": "Forgot Password",
3232
"path": "Features-Mvc-Core-Forgot-Password.md"
33-
}
33+
},
34+
{
35+
"text": "Passwordless Login",
36+
"path": "Features-Passwordless-Login.md"
37+
}
3438
]
3539
},
3640
{

0 commit comments

Comments
 (0)