Head over to our Discord developer site to create an application, and then save the client id and client secret to use in OAuth2 libraries as client_id and client_secret.
"name": "OAuth2 Test",
If you want to update the application then you can PUT to https://discordapp.com/api/oauth2/applications/<id> endpoint. You must include the whole object except id and secret. Icon may be set using a data-uri like the user avatar and guild icon endpoints.
pip install -r requirements.txt
OAUTH2_CLIENT_ID=152638009253036032 OAUTH2_CLIENT_SECRET=p6KNMamrU5OVWtZiFe2kSkhx3Amxm0xB python app.py