mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-02 18:13:15 +00:00
bind oidc ThirdEmail
This commit is contained in:
@@ -297,6 +297,7 @@ func (o *Oauth) OauthCallback(c *gin.Context) {
|
||||
|
||||
v.ThirdName = userData.PreferredUsername
|
||||
v.ThirdOpenId = userData.Sub
|
||||
v.ThirdEmail = userData.Email
|
||||
url := global.Config.Rustdesk.ApiServer + "/_admin/#/oauth/bind/" + cacheKey
|
||||
c.Redirect(http.StatusFound, url)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user