Ok I am using this example, to access the user rol...
# support-questions-legacy
k
Ok I am using this example, to access the user role using the jwtpayload, https://supertokens.com/docs/emailpassword/common-customizations/sessions/user-information-front-end. But I run into the error jwtpayload.role is not part of the properties
r
Hey. What are all of the claims in the JWT?
k
Ok I gave up on the jwt payload, and used the userclaimrole
And it worked
2 Views