Auth: Add Generic oauth skip org role sync setting (#62418)

* add: generic oauth skip org role sync

* add: docs

* add: backend login skip sync

* fix: docs typo

* add: tests

* remove public key

* fix markdown for generic oauth

* add: generic oauth to the configuration

* refactor: change debug to warn
This commit is contained in:
Eric Leijonmarck
2023-02-01 16:27:53 +00:00
committed by GitHub
parent 6b6b733229
commit 8ff19bd901
12 changed files with 107 additions and 40 deletions
+3 -1
View File
@@ -46,7 +46,9 @@ func GetAuthProviderLabel(authModule string) string {
return "JWT"
case AuthProxyAuthModule:
return "Auth Proxy"
case "oauth_generic_oauth":
return "Generic OAuth"
default:
return "OAuth" // FIXME: replace with "Unknown" and handle generic oauth as a case
return "Unknown"
}
}