Relative Content

Tag Archive for pythonflaskdiscord

Cannot get Discord OAuth to work on website in Flask

I posted something earlier that at least gave me a direction, but I am stuck again. I want to use the Discord API as a login for my website, then later (after someone fills out a form), take that person’s Discord username and put it in a SQL database along with other information.

Log into website via Discord API and store session

I’ve just been having a ton of issues trying to figure out how to do this. I need to use the Discord API to log into a website I’ve built, store it in a session, and at some point be able to call the username for a database entry.