Skip to content

geard-dev/discord-oauth2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Oauth2 Example

Information

This is a simple example for Discord Oauth2 that will print out the user profile information, such as their UID, username, and guilds that they're in.

Prerequisites

Setup

First, Clone the repo and cd into the folder:

git clone https://github.com/geard-dev/discord-oauth2-example && cd discord-oauth2-example

Next, install the dependencies:

npm i

Next, go to the .env file and replace YOUR_CLIENT_ID with your client ID and YOUR_CLIENT_SECRET with your client secret

Finally, you can start the server by running

npm run dev

Pointers

License

View information about the license on the LICENCE file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors