This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Expose accessToken from accounts database #955
Labels
enhancement
New feature or request
help needed
The maintainer needs help due to time constraint/missing knowledge
Summary of proposed feature
I'm using the Discord OAuth sign in, and would like to interface with the API using the Discord-OAuth2 package on NPM, but I can't get the
accessToken
that's in theaccounts
database.Purpose of proposed feature
Allow people to interface with the APIs that they use with this package.
Potential problems
None that I can think of.
Describe any alternatives you've considered
A hacky method of using an ORM and getting the token by finding by some unique identifier, in my case, find the user in the
users
database by email, use their_id
(using MongoDB) to find their account inaccounts
, then using theaccessToken
from that.Please indicate if you are willing and able to help implement the proposed feature.
Most likely not.
The text was updated successfully, but these errors were encountered: