Hacker News new | ask | show | jobs
by anticensor 905 days ago
Discord user tokens are not JWT: https://user-images.githubusercontent.com/34555296/120932740...

Unless your Discord server is actually a spacebar server, in which case they are JWT: https://github.com/spacebarchat/server/blob/master/src/util/...

1 comments

Oh, I didn't look closely and thought it matched (because of the dots) but yeah it doesn't start with "ey".

Thanks for the information, it's good to know that the token contains the user id inside of it.