Open Vyvy-vi opened 8 months ago
Hi, @Vyvy-vi. I'm Dosu, and I'm helping the Flask-Discord team manage their backlog. I'm marking this issue as stale.
Issue Summary:
revoke
method in DiscordOAuth2Session
is not working as expected.Next Steps:
Thank you for your understanding and contribution!
The revoke method of DiscordOAuth2Session doesn't revoke the Oauth access, i.e. the user's discord connections screen will still show the oauth app even if revoke is called. https://github.com/weibeu/Flask-Discord/blob/e5bda937d70ad35d30b0c7034151ed76cebf6bfc/flask_discord/client.py#L161-L175
Token Revocation can be done by making a request to - https://discord.com/api/oauth2/token/revoke
I'm interested in contributing to this fix.