Flask-Discord icon indicating copy to clipboard operation
Flask-Discord copied to clipboard

Revoke Oauth connection

Open Vyvy-vi opened this issue 11 months ago • 0 comments

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.

Vyvy-vi avatar Mar 08 '24 06:03 Vyvy-vi