Flask-Discord
Flask-Discord copied to clipboard
Revoke Oauth connection
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.