Initiates the sign in flow with an OAuth provider (Google is currently supported). In a web application, this will redirect the user to the Google sign in page. This sign in method is not yet supported on mobile.
The type of OAuth provider to sign in with.
The result of the sign in.
try { void signInWithOAuth("google");} catch (error) { console.error("Failed to sign in with Google:", error);} Copy
try { void signInWithOAuth("google");} catch (error) { console.error("Failed to sign in with Google:", error);}
Initiates the sign in flow with an OAuth provider (Google is currently supported). In a web application, this will redirect the user to the Google sign in page. This sign in method is not yet supported on mobile.