Skip to main content
Version: 6.1.X


ThirdParty.init({    signInAndUpFeature: {        providers: TypeProvider[]    },    emailVerificationFeature?: {        getEmailVerificationURL?: (user: User) => Promise<string>,        createAndSendCustomEmail?: (user: User, emailVerificationURLWithToken: string) => Promise<void>,    },    override?: {      functions?: function,      apis?: function    }})
type User = {  // this is the SuperTokens' userId of this user.  id: string,  timeJoined: number,  email: string,  thirdParty: {    id: string, // For ex: "google", "facebook", "github" etc..    // this is the userID of this user as given by the third party provider    userId: string  }}


signInUpFeature (Optional)#

  • providers
    • Object to initialize a thirdparty provider supported by the backend.
    • Default: empty


  • getEmailVerificationURL (Optional)
    • Implement this to provide a custom email verification URL
    • Default: {websiteDomain}{websiteBasePath}/auth/verify-email
  • createAndSendCustomEmail (Optional)
    • Callback for creating and sending custom emails for email verification.
    • Default: Uses our APIs to send an email verification email.


  • Use this feature to override how this recipe behaves
  • Default: undefined
Which frontend SDK do you use?
supertokens-web-js / mobile