Authenticating with Discord through VSC Thunder Client #3909
Answered
by
bryansamuel1
bryansamuel1
asked this question in
Help
-
Beta Was this translation helpful? Give feedback.
Answered by
bryansamuel1
Sep 17, 2022
Replies: 1 comment
-
Found the answer myself. Set the Auth Callback URL to the Discord api route that handles redirect callbacks. Generate a new token from Thunder Client, Login with Discord and then you will be redirected to your |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bryansamuel1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the answer myself.
Set the Auth Callback URL to the Discord api route that handles redirect callbacks. Generate a new token from Thunder Client, Login with Discord and then you will be redirected to your
discord/callback
endpoint, which will allow the controller to log you in. Then simply make a request to your API from your browser and fetch the cookie stored in the header. Add that cookie as a header to your Thunder Client requests and now you can access authenticated endpoints.