Hey <@498057949541826571> Its been tough to figure...
# support-questions-legacy
n
Hey @rp_st Its been tough to figure out, how can i start a session, and get the auth token (JWT), while using supertokens-node (btw, im using graphql, and hosted the supertokens self hosted with docker.) adding in the code which im using to register someone import Wrapper from "supertokens-node/lib/build/recipe/emailpassword"; import Wrapper2 from "supertokens-node/lib/build/recipe/userroles"; const response = await Wrapper.signUp( userInput.email.toString(), userInput.password.toString() ); await Wrapper2.addRoleToUser(response.user.id, "CLIENT"); and to siginin, const response = await Wrapper.signIn( email.toString(), password.toString() ); return response; But I need 2 things now 1. How can i send a custom email to the user on registering to verify his email 2. How can i start a session, and send in a jwt token in return when logged in