Hey, can i get user email on the client side, with...
# support-questions-legacy
k
Hey, can i get user email on the client side, withouth having to call an api on the server.
r
Hey. Yes you can. Add the email to the access token payload in the createNewSession override
And then access that on the frontend
k
Can i get the user roles of a user on frontend
r
Yes. We have guides for that. Please see our docs
3 Views