Join Discord
Communities
Powered by
Hey, can i get user email on the client side, with...
# support-questions-legacy
k
kumar_ayush
11/21/2022, 4:20 PM
Hey, can i get user email on the client side, withouth having to call an api on the server.
r
rp_st
11/21/2022, 4:33 PM
Hey. Yes you can. Add the email to the access token payload in the createNewSession override
rp_st
11/21/2022, 4:33 PM
And then access that on the frontend
k
kumar_ayush
11/21/2022, 5:14 PM
Can i get the user roles of a user on frontend
r
rp_st
11/21/2022, 5:21 PM
Yes. We have guides for that. Please see our docs
3
Views
Previous
Next