OAuth : Introduce new setting for configuring max age of OAuth state cookie (#23195)
* Cookie : Increase duration to avoid error When using oauth2 authentication with multifactor, the 60s delay may be too short * Introduce new setting for OAuth state cookie max age Co-authored-by: Sofia Papagiannaki <sofia@grafana.com> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
co-authored by
Sofia Papagiannaki
Arve Knudsen
parent
f1548b4b11
commit
474dac1501
@@ -450,6 +450,11 @@ Text used as placeholder text on login page for password input.
|
||||
Grafana provides many ways to authenticate users. The docs for authentication has been split in to many different pages
|
||||
below.
|
||||
|
||||
### oauth_state_cookie_max_age
|
||||
|
||||
How long the OAuth state cookie lives before being deleted. Default is `60` (seconds)
|
||||
Administrators can increase it if they experience OAuth login state mismatch errors.
|
||||
|
||||
- [Authentication Overview]({{< relref "../auth/overview.md" >}}) (anonymous access options, hide login and more)
|
||||
- [Google OAuth]({{< relref "../auth/google.md" >}}) (auth.google)
|
||||
- [GitHub OAuth]({{< relref "../auth/github.md" >}}) (auth.github)
|
||||
|
||||
Reference in New Issue
Block a user