diff --git a/docs/auth_auth_module.md b/docs/auth_auth_module.md index 4cdd049a..b1676317 100644 --- a/docs/auth_auth_module.md +++ b/docs/auth_auth_module.md @@ -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 diff --git a/website/static/img/en/auth/mfa_workflow.png b/website/static/img/en/auth/mfa_workflow.png new file mode 100644 index 00000000..92b31e3f Binary files /dev/null and b/website/static/img/en/auth/mfa_workflow.png differ