try add oidc
This commit is contained in:
1 parent
4baa8d392e
commit
4105f14a3f
8 files changed
+263
-27
No files matched your search
@@ -7,12 +7,15 @@ type Oauth struct {
|
||||
ClientSecret string `json:"client_secret"`
|
||||
RedirectUrl string `json:"redirect_url"`
|
||||
AutoRegister *bool `json:"auto_register"`
|
||||
Scopes string `json:"scopes"`
|
||||
Issuer string `json:"issuer"`
|
||||
TimeModel
|
||||
}
|
||||
|
||||
const (
|
||||
OauthTypeGithub = "github"
|
||||
OauthTypeGoogle = "google"
|
||||
OauthTypeOidc = "oidc"
|
||||
OauthTypeWebauth = "webauth"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user