Updated Discord Authentication Module to allow optionally filtering based on Server Roles. Added custom authentication error message. Added Discord-Oauth2 to package. Discord-Oauth2 is used to fetch role data from the specified server.
* Optionally restrict discord authentication to members of a specific server
* fix: discord auth module code linting
Co-authored-by: Lucas Neves <lneves@modusgames.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
* updating a switch into object literal and fixed a couple linter errors
* added a comment about weird formatting
* style: use lodash get
* fix: pass eslint + puglint + jest