try add oidc
This commit is contained in:
1 parent
4baa8d392e
commit
4105f14a3f
8 files changed
+263
-27
No files matched your search
@@ -92,6 +92,10 @@ func (l *Login) LoginOptions(c *gin.Context) {
|
||||
if err == nil {
|
||||
oauthOks = append(oauthOks, model.OauthTypeGoogle)
|
||||
}
|
||||
err, _ = service.AllService.OauthService.GetOauthConfig(model.OauthTypeOidc)
|
||||
if err == nil {
|
||||
oauthOks = append(oauthOks, model.OauthTypeOidc)
|
||||
}
|
||||
oauthOks = append(oauthOks, model.OauthTypeWebauth)
|
||||
var oidcItems []map[string]string
|
||||
for _, v := range oauthOks {
|
||||
|
||||
Reference in new issue
Block a user