mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Allow users to use a generic oauth that conforms to the github style.
Enables users to set their own link text.
This commit is contained in:
@@ -11,8 +11,9 @@ type OAuthInfo struct {
|
||||
}
|
||||
|
||||
type OAuther struct {
|
||||
GitHub, Google, Twitter bool
|
||||
OAuthInfos map[string]*OAuthInfo
|
||||
GitHub, Google, Twitter, Generic bool
|
||||
OAuthInfos map[string]*OAuthInfo
|
||||
OAuthProviderName string
|
||||
}
|
||||
|
||||
var OAuthService *OAuther
|
||||
|
||||
Reference in New Issue
Block a user