https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

06/11/2021, 7:00 AM
We do:
Copy code
let tokenInfo = {
  uid: userId,
  ate: atExpiry,
  up: jwtPayload //  contains your user's name
}
let frontToken = Buffer.from(JSON.stringify(tokenInfo)).toString("base64")