A simple discord oauth test
- Generate a redirect url and credentials for your app here
- create a new app
- go to
OAuth2
->General
-> Add Redirect - go to
URL Generator
-> Selectidentify
scope and select the redirect url -> Copy the generated url - replace
YOUR_REDIRECT_URL
with your newly created url inindex.html
- Set up env
cp .env.sample .env
// add all environment variables
- Start the server
npm run start
- Visit the site at
http://localhost:port