mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-11-09 09:50:01 +00:00
Document default_redirect
parent
281161e33f
commit
93998389f9
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ The login form can be customized with its wording and the default login method.
|
|||
login:
|
||||
title: "luzifer.io - Login"
|
||||
default_method: "simple"
|
||||
default_redirect: "https://luzifer.io/"
|
||||
hide_mfa_field: false
|
||||
names:
|
||||
simple: "Username / Password"
|
||||
|
@ -18,6 +19,8 @@ login:
|
|||
|
||||
Most options should explain themselves, the `names` dictionary maps IDs of the authentication methods (shown in the title of their config section below) to human readable strings. You can set any string you need and your user recognizes.
|
||||
|
||||
When setting the `default_redirect` your users are able to bookmark your login page (password managers tend to do this) and are redirected to this URL in case no `go=` parameter was found when the login page was called.
|
||||
|
||||
In case you don't want to show up the "MFA Token" fields even though the providers being used does support them (for example if you are not using MFA and don't want to confuse your users) you can set the `hide_mfa_field` flag to hide them.
|
||||
|
||||
## Cookie Settings
|
||||
|
|
Loading…
Reference in a new issue