added discord oauth2 to get basic user info to complete profile when registering

This commit is contained in:
cedrick2711
2026-08-04 12:25:03 -04:00
parent 10af8c0d22
commit 47d5ec47e7
5 changed files with 414 additions and 71 deletions
+6
View File
@@ -17,6 +17,12 @@ FLASK_DEBUG=true
# Dicord_User_ID in the db / remove if you don't want discord notifs.
DISCORD_BOT_TOKEN=my_discord_bot_token
# Discord OAuth2 Configuration (for "Connect Discord" on sign-up page)
# Create an application at https://discord.com/developers/applications
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URI=http://localhost:5000/auth/discord/callback
#where to find the db (hosted on render for now)
DATABASE_URL=URI_vers_db_posgres