On the email verification page https://supertokens...
# general
k
On the email verification page https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/email-verification/about for the plain javascript option, it talks both about not being supported and requiring calls to the supertokens apis myself. Which is it?
r
for custom UI, you have to make the API calls yourself.
k
What API calls do I make? I looked at the backend endpoints supertokens adds to my backend but nothing jumped out to me. For the ThirdPartyEmailPassword recipe, the API endpoints added are
/signin
/signup
/signup/email/exists
/user/password/reset/token
/user/password/reset
/signinup
/authorisationurl
/callback/apple
What am I missing?
r
It also exposes the email verification endpoints.
From the email verification recipe
k
Gotcha, thanks! Do I need to add any configuration to include the email verification recipe? Or does it come with my current recipe by default?
Using a python backend and this is in my init function:
Copy code
framework='fastapi',
    recipe_list=[
        session.init(), # initializes session features
        thirdpartyemailpassword.init(
           # TODO: See next step
        )
    ],
r
> Or does it come with my current recipe by default? Yes this.
You don't need to add any extra configs on the backend for email verification. the
thirdpartyemailpassword.init
exposes the emailverification APIs as well.
3 Views