Cannot get params from url
@space ❄ (tagging u cous this is followup of my previous question which i closed and cant open anymore)
so this is my code:
but this just logs
null null
this is the oauth2 url from discord https://discord.com/oauth2/authorize?client_id=1116352238667960392&response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Fauth&scope=identify
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPthis is the url i get redirected to
You may want to read the next few paragraphs of the page, it explains why it doesn't work and how you can make it work.
it dosnt say anything abb that. it just explains how to use it when using token type 'code'
i also could just be blind tho
nvm sorry im just blind