<@!350477548469092372> try the following and see i...
# support-questions
r
@User try the following and see if it works:
Copy code
ts
import {ThirdPartyEmailPasswordPreAPIHookContext} from "supertokens-auth-react/recipe/thirdpartyemailpassword"

ThirdPartyEmailPassword.init({
  async preAPIHook(context: ThirdPartyEmailPasswordPreAPIHookContext) {
    // TODO:...
  }
});
Reference code can be found here: https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-typescript/src/App.tsx#L251