mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-04 05:10:35 +00:00
try add oidc
This commit is contained in:
@@ -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