Submit templates for repl.it/templates here.
A Python Flask app that makes people login with Discord using OAUTH2 lib.
How do I set this up when I remix it doesn’t work?
@gavinwinsagain line 8 change base_url and create a .env with OAUTH2_CLIENT_ID = your_client_id and OAUTH2_CLIENT_SECRET = your_client_secret
OAUTH2_CLIENT_ID = your_client_id
OAUTH2_CLIENT_SECRET = your_client_secret
^ take them from the Discord dev portal
So when I did this now it says “invalid 0AUTH2” redirect @ssebastianoo
cool! How would i get the profile picture?
hello, go on /me and you can find your avatar in Bytes @AgastyaSandhuja. You can get it with user["avatar"]
ok thanks @ssebastianoo