Join Discord
Powered by
Ok I am using this example, to access the user rol...
# support-questions-legacy
k
kiesker
06/29/2023, 1:10 AM
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
rp_st
06/29/2023, 4:45 AM
Hey. What are all of the claims in the JWT?
k
kiesker
06/30/2023, 2:14 AM
Ok I gave up on the jwt payload, and used the userclaimrole
kiesker
06/30/2023, 2:14 AM
And it worked
2
Views
Previous
Next