Auth2

Is the access token used to access people's accounts? or just to pull information like name, avatar and among others?
6 Replies
d.js toolkit
d.js toolkit12mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
duck
duck12mo ago
it doesn't give access to their accounts, but depending on the scopes used, it allows your application to act on their behalf though general oauth questions would be better asked in ddevs #useful-servers
Leozin
Leozin12mo ago
ok.. thx 1 more question, on the auth page, there is a cancel button, I wanted when I clicked on the button, it would go back to /login (use nextjs - next-auth) @duck
duck
duck12mo ago
to my knowledge, cancelling still redirects to the specified redirect url except with different url params and this isn't something you can control though again, general oauth questions would be better asked in ddevs #useful-servers
Leozin
Leozin12mo ago
Tried to ask questions there but I don't think anyone is answering 😦
Μορφέας
Μορφέας12mo ago
Use a lógica