Sign in with Email Link

Use the signInWithEmailLink method to allow users to sign in to the application using an email link.

Method

final userCredential = await FirebaseApp.firebaseAuth?.signInWithEmailLink(email, emailLinkUrl);

Parameters

  • email (String): The user's email address.

  • emailLinkUrl (String): The email link sent to the user for sign-in.

Return

  • UserCredential?: Returns a UserCredential object containing the user's sign-in information.

This method enables users to sign in to the application using a link sent to their email, typically used in passwordless authentication flows.

Last updated