discord.py
discord.py copied to clipboard
Discord OAuth2
Summary
Add Discord OAuth2, example: refresh access token, exchange code, add to guild and many more things of oauth2.
What is the feature request for?
The core library
The Problem
Library Doesn't Have OAuth2 Things.
The Ideal Solution
Add OAuth2 Things.
The Current Solution
No response
Additional Context
No response
Kindly Add It Soon As Possible. They're Are Many API Wrappers For OAuth2, like disco.oauth2, but i want it to implemented in discord.py
Discord.py does not and (as far as I know) has no plans to support OAuth2.
It really doesn't make sense to use a discord specific library for Oauth, especially when one of the core uses of Ouath with discord would be to get a user to connect to multiple different Oauth providers to prove a connection not directly supported by discord.
Consider using a well-reviewed option like oauthlib which handles oauth in general, not just for a specific service instead.