Passport strategy for authentication with Discord through the OAuth 2.0 API.
Before using this strategy, it is strongly recommended that you read through the official docs page here, especially about the scopes and understand how the auth works.
- Minor edits by FAXES. Created for OAuth in FAXES store items.
An Express server example can be found in the /example
directory. Be sure to npm install
in that directory to get the dependencies.
- Jared Hanson - used passport-github to understand passport more and kind of as a base.
Licensed under the ISC license. The full license text can be found in the root of the project repository.