第三方登录添加gitee,修改url
This commit is contained in:
parent
39adf3f1bd
commit
f1b0294b3b
|
|
@ -114,7 +114,10 @@ type GitHubOAuthRequest struct {
|
|||
}
|
||||
|
||||
type GiteeOAuthRequest struct {
|
||||
OAuthGetTokenRequest
|
||||
ClientID string `json:"client_id"`
|
||||
ClientSecret string `json:"client_secret"`
|
||||
Code string `json:"code"`
|
||||
RedirectURI string `json:"redirect_uri" `
|
||||
//'grant_type': 'authorization_code',
|
||||
GrantType string `json:"grant_type"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue