CDP Frontend SDK
    Preparing search index...

    Function verifyOAuth

    • Verifies the OAuth code for the sign in flow with a OAuth provider.

      Parameters

      Returns Promise<VerifyOAuthResult>

      The result of the verification.

      const result = await verifyOAuth({
      flowId: "flow-id-from-signInWithGoogle",
      code: "123456", // The OAuth code received from the OAuth provider
      providerType: "google",
      });