HomeTechnologyNewsWhat is a Discord token and how do you get one?

What is a Discord token and how do you get one?

- Advertisement -
- Advertisement -
- Advertisement -
- Advertisement -

[ad_1]

Hannah Stryker / Instructional Geek

A Discord token is your unique alphanumeric identifier that validates any action you take with the Discord servers. You can find it using the web version of Discord and your browser’s developer tools.

You’ll need to perform some web browser tricks to reveal your Discord token, and for good reason. Please do not reveal your Discord token to anyone else, as anyone can log into your account if they have one.

What is a discord token?

Your Discord token is an alphanumeric string that acts as your username and password to verify your identity with Discord. Every action you take on Discord is authorized with this token, which is created when you first create your account (and regenerated when you change your password).

Warnings: Look at this token carefully and don’t give it to anyone unless you explicitly trust them or know exactly why they need it. If someone discovers your token, they can use it to log in as you, gain access to servers you own, and access servers you’re a part of.

Be careful if someone asks you to follow the steps below, especially if you don’t know or trust them.

How to get your discord token

You can get your Discord token using a desktop web browser which grants you access to the developer tools. First, head over to Discord.com in your browser and log in as normal. With Discord open, launch your browser’s developer tools.

The keyboard shortcut for this is commonly Ctrl+Shift+I (on Windows) or Command+Option+I on a Mac. You can also access these tools using the menu at the top of your browser window.

For example, in Chrome, click the three-dot menu, then More Tools > Developer Tools. In Microsoft Edge and other Chromium-based browsers, you’ll find the menu option in the same place.

In Firefox, go to Tools > Browser Tools > Web Developer Tools. In Safari, go to Develop > Show Web Inspector (you’ll need to enable “Show Develop menu in menu bar” in Preferences > Advanced first).

Access to Chrome developer tools through the menu

With this menu open, click the Network tab, then refresh the web page using F5 on a Windows PC or Command+R on a Mac (or use the Refresh button at the top of the window).

Access the tab "Grid" in developer tools

Now, in the “Filter” text field at the top of the developer tools panel, enter /api to filter by result, then click on “library” (you can include a country code) followed by the “Headers” tab. Scroll down until you see the “Authorization” field under the “Request” heading, where you’ll find a string of letters and numbers.

Find your Discord token using your browser's developer tools

Congratulations, you just discovered your Discord token. Now protect it with your life!

Beware of Discord token hoarders

Malicious actors can use Discord’s token verification tools to hijack your account and worse. Discord token grabbers are small scripts designed to steal Discord tokens and other personally identifiable information about a victim. This can include your phone number, IP address, hardware information like what graphics card you have, and more. They are available for download all over the web and are relatively easy to set up and use.

Token grabbers must be configured by the server owner, usually via a webhook. This type of integration is typically used within Discord to send information between web apps, but it can also be used for nefarious purposes. Most of the time, users trying to use token grabbers will create servers specifically for this purpose.

Your main defense against this attack is not to accept random file transfers (or other downloads) from random users. For the grabber to work, you’ll need to run the code on your device, so be careful if someone sends you a file asking you to “try something” or “try this game” as they are most likely trying to do that. steal your information.

How to change your discord token

You can change your Discord token by changing your password. You can do this by opening Discord and going to your User Settings. You’ll find this on the web and desktop versions of Discord under the “cog” button next to your username. On mobile versions, tap the “User” tab at the bottom of the screen.

change your discord password

With User Settings open, go to My Account > Change Password and follow the steps. Once you have changed your password, your Discord token will be regenerated. You will have to follow the steps above to find it again.

How to login with a Discord token

You can login to the Discord web app with your token. There are also Discord token login extensions for browsers like Chrome that promise to simplify the process, but we strongly recommend against using them. The instructions below are quite easy to follow and the extensions could expose your token to third parties.

To sign in with your token on the web, you will first need to copy your token by following the steps above. Next, go to Discord.com in a web browser and click “Login” in the top right corner of the page.

Next, launch your web browser’s developer tools (you can use Ctrl+Shift+I on Windows or Command+Option+I on a Mac). Click on the “Console” tab when it appears.

Access "Consul" tab in chrome developer tools

At the bottom of this area, you will find a text field where you can type and paste commands. We will use this to log in. Now, copy the code below but replace “YOUR TOKEN” with the Discord token you noted earlier.

function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}

login('YOUR TOKEN')

Now paste the modified code into the text field at the bottom of the console tab in your browser’s developer tools. Hit enter, wait a second, and you should be logged in.

Sign in using the console in Chrome developer tools

Remember that anyone can do this if they get access to your token, so keep a close eye on it.

How to get a Discord bot token

You can find a Discord bot token, which works the same way, but for a bot, on the Discord Developer Portal. This depends on you already having a bot on your Discord server. You’ll need to select the app you have a bot installed in, then click “Bot” in the sidebar on the left side of the page.

Find your Discord bot token

You can only see your token after you have generated a bot by regenerating it. Click “Reset Token” to reset and create a new token.

Do more with Discord

Discord is a great place to chat with friends, meet new people, and even watch movies remotely. Check out some of the best Discord features you probably aren’t using, including integration with Sony’s PlayStation 5 console.

Just make sure you’re careful when using Discord, especially if you own a server. Discord servers are often the target of raids and are susceptible to spam and other attacks. You should know what is Discord server nuke and how you can protect yourself.

[ad_2]

- Advertisement -
- Advertisement -
Must Read
- Advertisement -
Related News
- Advertisement -