I lifted the code from here: https://supertokens.com/docs/thirdpartypasswordless/advanced-customizat...