Sign In With Redirect
Use the signInWithRedirect method to allow users to sign in to the application using a redirect mechanism with an OAuth provider.
This option of user authentication is similar to the sign-in with popup auth method.
Method
await FirebaseApp.firebaseAuth?.signInWithRedirect(providerId);Parameters
providerId (
String): The OAuth provider ID (e.g.,'google.com','facebook.com') for the sign-in.
Return
void: This method does not return a value.
This method initiates the OAuth sign-in process by redirecting the user to the provider's sign-in page, typically used for third-party authentication like Google or Facebook.
Last updated