Hi, this might be a newb question (I only spent a day implementing react frontend with custom ui) but is there a way to get the first and last name from metadata to be part of the access token/session on the frontend?
r
rp_st
05/05/2023, 4:26 AM
Hey @raf4723 there is. You can use session.mergeIntoAccessTokenPayload to add the info into the session.
rp_st
05/05/2023, 4:26 AM
See our docs for access token payload / claims in the session management section.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).