https://supertokens.com/ logo
Title
n

nosmaster89

11/22/2022, 1:32 PM
im currently trying to setup custom claims in jwt . i can see that the accessTokenPayload has changed after calling mergeIntoAccessTokenPayload but the actual jwt seems to be unaffected
r

rp

11/22/2022, 1:33 PM
hey @nosmaster89 are you using the node SDK? If yes, this bug has been solved in the latest version of the SDK - please update to it.
n

nosmaster89

11/22/2022, 1:37 PM
man you guys are on fire . thanks for the reply that worked just fine
no scratch that its still not updating in the actuall jwt . i was looking at the access token still
r

rp

11/22/2022, 1:39 PM
Can you check the actual version you got?
In package-lock
n

nosmaster89

11/22/2022, 1:40 PM
"version": "12.1.0",
r

rp

11/22/2022, 1:40 PM
Make sure to remove that file and remove node modules and update