You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错:
ilegal user:failed to exchange token: oauth2: cannot fetch token: 400 Bad Request Response: {"code":"Missingbody","requestid":"8E7B0ED6-B16F-7042-B6D8-6DF5DCC5B7E9","message":"body is mandatory for this action."}
The text was updated successfully, but these errors were encountered:
What would you like to be added:
Why is this needed:
想实现钉钉企业账号单点登录
以下是我的配置:
Enable = true
DisplayName = '钉钉sso登录'
RedirectURL = 'https://devops-n9e.xxx.com/callback/oauth'
SsoAddr = 'https://login.dingtalk.com/oauth2/auth'
SsoLogoutAddr = 'https://login.dingtalk.com/oauth2/logout'
TokenAddr = 'https://api.dingtalk.com/v1.0/oauth2/userAccessToken'
UserInfoAddr = 'https://api.dingtalk.com/v1.0/contact/users/me'
TranTokenMethod = 'header'
ClientId = 'xxxx'
ClientSecret = 'xxxx'
CoverAttributes = true
DefaultRoles = ['Standard']
UserinfoIsArray = false
UserinfoPrefix = ''
Scopes = ['openid', 'profile']
[Attributes]
Username = 'userid'
Nickname = 'name'
Phone = 'mobile'
Email = 'email'
报错:
ilegal user:failed to exchange token: oauth2: cannot fetch token: 400 Bad Request Response: {"code":"Missingbody","requestid":"8E7B0ED6-B16F-7042-B6D8-6DF5DCC5B7E9","message":"body is mandatory for this action."}
The text was updated successfully, but these errors were encountered: