Skip to content

Finding your authentication token

Connor Edwards edited this page Mar 9, 2019 · 2 revisions

In order to perform actions as your Discord user, the script requires an authentication token. This is usually given to your browser when you login to Discord.

The script does not support logging in to Discord on your behalf for the sake of security and simplicity. For this reason, you must find your authentication token and pass it to the script yourself.

Here's how to find your authentication token:

  • Navigate to https://discord.com in your browser
  • Login to Discord
  • Hit Ctrl+Shift+I in your browser to open devtools
  • Navigate to the Network tab in the devtools
  • Select XHR
  • Click around the UI a bit to make some requests appear
  • Select one of the requests under XHR, preferably ones called science
  • Scroll down to Request Headers and find the authorization value
  • Copy this value to your clipboard