feat: add weibo provider

Signed-off-by: wasabi <690898835@qq.com>
This commit is contained in:
wasabi
2021-06-10 16:55:31 +08:00
parent 30bed3cb47
commit 3d3a331784
6 changed files with 279 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (idp *DingTalkIdProvider) getConfig(clientId string, clientSecret string, r
var config = &oauth2.Config{
// DingTalk not allow to set scopes,here it is just a placeholder,
// convenient to use later
Scopes: []string{"",""},
Scopes: []string{"", ""},
Endpoint: endpoint,
ClientID: clientId,