-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from aspnetzero/features-passwordless-login
Add `feature passwordless login` documents
- Loading branch information
Showing
9 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Passwordless Login | ||
|
||
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. | ||
|
||
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. | ||
|
||
- A Passwordless login code can be used only once. | ||
- When a passwordless login code is verified, it can't be used anymore. | ||
|
||
![Passwordless login settings](images/passwordless-login-settings.png) | ||
|
||
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. | ||
|
||
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. | ||
|
||
![Passwordless login click here](images/passwordless-login-click-here.png) | ||
|
||
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. | ||
|
||
## Verification Type | ||
|
||
The current options for passwordless login verification include **Email** and **SMS** authentication methods. | ||
|
||
If multiple verification types are active, the selection screen for verification types appears as shown below. | ||
|
||
![Passwordless login verification type](images/passwordless-login-verification-type.png) | ||
|
||
### Email Verification | ||
|
||
If only the email verification type is active, the screen for entering the email address is displayed as shown below. | ||
|
||
![Passwordless login email verification](images/passwordless-login-email-verification.png) | ||
|
||
### SMS Verification | ||
|
||
If only SMS verification is active, the screen for entering the phone number will appear as shown below. | ||
|
||
![Passwordless login sms verification](images/passwordless-login-sms-verification.png) | ||
|
||
## Verify Passwordless Code | ||
|
||
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. | ||
|
||
![Passwordless login verify passwordless code](images/passwordless-login-verify-passwordless-code.png) | ||
|
||
After entering the verification code correctly, user will be authenticated and redirected to the home page of the application. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters