mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
7afdfd2ef4
* Okta OAuth support * Chore: fix linter error * Chore: move IsEmailAllowed to SocialBase * Chore: move IsSignupAllowed to SocialBase * Chore: review fixes * Okta: support allowed_groups * Okta: default config * Chore: move extractEmail() to OktaClaims struct * Chore: review fixes * generic_oauth_test: Handle error cases Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * generic_oauth_test: Handle error cases Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Docs: Okta OAuth * Chore: don't return expected errors from searchJSONForAttr * Docs: role mapping * Chore: review fixes (searchJSONForAttr) * Docs: review fixes * Update docs/sources/auth/okta.md Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com> * Update docs/sources/auth/okta.md Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com> * Chore: log error if searchJSONForAttr failed * Docs: add Okta login link * Docs: review fixes * Docs: add reference to the org roles Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
15 lines
137 B
Go
15 lines
137 B
Go
package models
|
|
|
|
type OAuthType int
|
|
|
|
const (
|
|
GITHUB OAuthType = iota + 1
|
|
GOOGLE
|
|
TWITTER
|
|
GENERIC
|
|
GRAFANA_COM
|
|
GITLAB
|
|
AZUREAD
|
|
OKTA
|
|
)
|