Yes. You can use our preAPI hook to do that: https...
# support-questions
r
Yes. You can use our preAPI hook to do that: https://supertokens.com/docs/thirdpartyemailpassword/advanced-customizations/frontend-hooks/pre-api Alternatively, you can create an API that you call right after succesful a success sign up to modify the user's access token payload to include the role: https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/update-jwt-payload