Hi again. Quick question, the JWT token we get on ...
# support-questions-legacy
s
Hi again. Quick question, the JWT token we get on clientside by
let jwt = (await SuperTokens.getAccessTokenPayloadSecurely()).jwt
and the token we get from backend method
session.getAccessTokenPayload().jwt
should return the same token right?
n
Hi, Yes they should return the same token
If you’re seeing different tokens being returned after updating the access token payload, make sure to use method 1 when updating it as mentioned here: https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/update-jwt-payload
7 Views