-
-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No token in local storage #76
Comments
I can second this. Tried to export a chat today after a clean install and noticed the token key was either removed or moved. |
I'm having the same issue. After updating to a new version I noticed that the token was gone in the Discord developer console. |
It looks like it's indeed gone. Gonna mark it as a bug because the steps to obtain user token are no longer valid. Also, note that old user tokens still work so if you still have your token saved somewhere -- make sure you don't lose it until workaround is found. |
Unfortunately I don't have my old token anymore. Even if I had, I have updated my password to see if the token returned, but it didn't. |
As a more technical work-around you can do the following:
|
Thank you, that works for me. |
WOW! THANK YOU! Worked like a charm, Tyrrrz! #QueenWiki |
I can't find the authorization header. Can anyone else find it? |
The workaround works for me. |
So.... I still can't find this authorization header.... In fact, I have no idea what you mean by "Go to any channel in any guild" And I don't even have a "Headers" Tab... Help please? Update Ok so I found the "Headers" Tab.... but still have no idea where the Authorization value is... I have some that says "Provisional Headers are shown" that appears at the very to of the "Request Headers" tab... Is this anything I should be concerned about? |
If the 'messages?limit=50' doesn't show up, either press F5 to reload the page, or swap to another channel. |
Note for blind people (I'm one of them): You don't have to use Also, random observation: In |
Yes, it doesn't have to be |
Yep, got it! Thank you so much. |
Found a way of getting the token. (Only works on Discordapp)
|
It would be nice if we could find perhaps an even easier solution, so that a non-technical person would be able to get token with minimal work, ultimately without having to go through Network tab at all. |
Great ty! that works! |
The instruction notes have been updated in the app and in the wiki |
To automate this: https://github.com/FOCI-DEV/Get-Discord-Token |
Can't you be banned for using your user token in an automated program? |
Yes it against discord’s T.O.S but people still do it xD |
There's very little logical incentive to ban people for this because there's no harm done, as opposed to e.g. automating your account to send spam messages. The TOS doesn't distinguish between different usages of user tokens, most likely to avoid getting into grey areas. That said, even though nobody has ever been banned for this, use your user token at your own risk. If possible, use a bot token instead. |
Thanks for the explanation, I ended up using the below tool that runs as a bot and exports data from Discord servers to MongoDB databases. |
Interestingly, the token is visible briefly in the Application tab as soon as you reload the page. This suggests they are removing it from localStorage as soon as the page loads and inserting it back when the page is about to close. Now, to get the access token, one simple way is to add a network profile in the networking tab and set download, upload speed to 0.01kb/s or some small value or set latency to really high value and reload the page. The access token will be available for you to copy a little longer depending on your network settings. |
This only seems to affect the web client right now. In my experience, you can still copy the value fast enough -- you just have to double click it and press Ctrl+C. It's fine if it still contains parentheses, they will get trimmed by DCE |
The "Authorization" entry with the Token can now be found under HEADER > ACK (on the left) and then you will see the "authorization" entry on the right. |
consider using gist.github.com for single or few files @FOCI-DEV |
Open chrome developer tools and turn on device toolbar. |
Easiest workaround seems to be just enable the "mobile" mode in your browsers development console, at-least for me, the token instantly appears when it switches to mobile mode? |
Here's a little script that you can paste into your dev console to get the token: (webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken() Alternatively
|
yea so i copy token it says invalid |
Hi, I was doing some research to find a way to get a token and I found this page. So I did what was said but I don't get the same token on web app as on desktop app, I notice the characters in the token change after the first dot. Does anyone know why ? |
@Ashio-Kun the token format changed around the time Discord introduced the Devices tab. I suppose it allows differentiation between sessions and their independent termination. |
funny thing about this, i have made a whole account and use it as a portable bot, it has AI intelligent and more and yet still my bot hasnt gotten banned/disabled :P |
Discord changed the way they handle tokens is there any other method to get your discord token?
The text was updated successfully, but these errors were encountered: