add diagram for mfa auth workflow (#216)

This commit is contained in:
Alvi Mahadi 2019-04-06 09:08:39 -07:00 committed by Jason Hu
parent 67b9a5299d
commit 950fabe2bd
2 changed files with 1 additions and 3 deletions

View File

@ -36,9 +36,7 @@ Each MFA module need to implement a setup flow handler extends from `mfa_modules
## Workflow
> TODO: draw a diagram
User == select auth provider ==> LoginFlow.init == input/validate username/password ==> LoginFlow.finish ==> if user enabled mfa ==> LoginFlow.select_mfa_module ==> initialize(optional) ==> LoginFlow.mfa == input/validate MFA code ==> LoginFlow.finish ==> Done
![Multi Factor Authentication Workflow](/img/en/auth/mfa_workflow.png)
## Configuration example

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB