Authenticates the user based on the provided authentication arguments using a redirect.
import { authenticateWithRedirect } from "thirdweb/wallets/in-app"; const result = await authenticateWithRedirect({ client, strategy: "google", mode: "redirect", redirectUrl: "https://example.org",});
function authenticateWithRedirect( args: SocialAuthArgsType & { client: ThirdwebClient; ecosystem?: Ecosystem; },): Promise<void>;
The authentication arguments.
let args: SocialAuthArgsType & { client: ThirdwebClient; ecosystem?: Ecosystem;};
let returnType: Promise<void>;
A promise that resolves to the authentication result.