Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How discord store token?

Recently discord updated his app and web version. in this version, you are unable to find user tokens in localStorage and anywhere else. an interesting fact is, if you delete all localStorage items, cookies and etc, you will still be logged in the discord! my question is, how this is possible?! is there a new modern way of data storage on the client-side? how does discord generate and login users from NOTHING?

like image 399
John J Avatar asked Sep 17 '25 03:09

John J


1 Answers

The token(s) should appear under the Storage tab under the values 'token' and 'tokens' of inspect element but for some reason, these values are only visible when the Responsive Design Mode is toggled:

Image

like image 184
demented Avatar answered Sep 18 '25 17:09

demented