mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
ff6a082e23
* Implement Azure AD oauth * Use go-jose and cleanup * Update go-jose in go.mod * cleanup * Add unit tests * Fix scopes * Add documentation page * Improve documentation * Convert extract_role into function. * Do not use upn and replace unique_name with preferred_username * Configure login button * Use official microsoft icon and color from branding guideline. * Add Azure AD config section in sample.ini.
14 lines
131 B
Go
14 lines
131 B
Go
package models
|
|
|
|
type OAuthType int
|
|
|
|
const (
|
|
GITHUB OAuthType = iota + 1
|
|
GOOGLE
|
|
TWITTER
|
|
GENERIC
|
|
GRAFANA_COM
|
|
GITLAB
|
|
AZUREAD
|
|
)
|