Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lxw/wechat provider #1630

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
fix:remove revoke Token
lxw665 committed Jun 21, 2024
commit 6cad29ad5994596fa8fa86d37c7618fa1c88d41b
4 changes: 0 additions & 4 deletions internal/api/provider/wechat.go
Original file line number Diff line number Diff line change
@@ -192,10 +192,6 @@ func (idp weChatProvider) GetUserData(ctx context.Context, token *oauth2.Token)
return &userData, nil
}

func (idp weChatProvider) RevokeToken(token *oauth2.Token) error {
return nil
}

func mapGender(sex int) string {
switch sex {
case 1: