Skip to content

Yankue/oauth2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauth2-example

A very easy way to do discord oauth2 in JavaScript!

Usage

  1. In main.js, put your credentials in, on lines 7-12
  2. On the developer portal, set http://localhost:3000/oauth-callback to an OAuth2 redirect. Change the url/port how you wish.

This is clearly an example, but it shows exactly how to use the identify scope on Discord OAuth2.

About

A very easy way to do discord oauth2 in JavaScript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors