Did the length of a Discord token recently change?

Viewed 74

My Discord authorization token is 70 characters long, it goes as follows:

OTk1MTU1NzcyMzYxMTQ2NDM4.[6 characters].[38 characters]

But every token I see online is 59 characters long. Even the token grabbers only get the first 59 characters of my token. The regex everyone seem to use to know whether a string could be a token ( not MFA ) is /[\w-]{24}\.[\w-]{6}\.[\w-]{27}/ which clearly implies that there are 59 characters ( 57 + 2 periods ). Did the length of a token recently change?

PS: I successfully managed to make requests to the Discord API using it, it's valid.

1 Answers

Yes, the length of the discord tokens has changes over the time because of the decoded timestamp in the Base64 format in the token.

The Token is an encoded text as Text and the first letters are giving informations about the registration date of the user / bot.

example: if I decode the token beginning I get the ID of the object. In your case the ID of the bot would be 995155772361146438.

That's why it's changing.

Related