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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user