From 49f727806304960118901bb323ad9c362fe00e2a Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Mon, 6 Sep 2021 16:55:30 +0200 Subject: [PATCH] OAuth: add docs for disableAutoLogin param (#38752) * OAuth: add docs for disableAutoLogin param * Apply suggestions from code review Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * OAuth: add availability note for disableAutoLogin * Update docs/sources/auth/overview.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/auth/overview.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: Alexander Zobnin Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> --- docs/sources/auth/overview.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/sources/auth/overview.md b/docs/sources/auth/overview.md index 22d365414be..2e9c2b2a5fc 100644 --- a/docs/sources/auth/overview.md +++ b/docs/sources/auth/overview.md @@ -121,6 +121,11 @@ Defaults to `false`. oauth_auto_login = true ``` +### Avoid automatic OAuth login + +To sign in with a username and password and avoid automatic OAuth login, add the `disableAutoLogin` parameter to your login URL. +For example: `grafana.example.com/login?disableAutoLogin` or `grafana.example.com/login?disableAutoLogin=true` + ### Hide sign-out menu Set the option detailed below to true to hide sign-out menu link. Useful if you use an auth proxy or JWT authentication.