Use the getRedirectResult method to retrieve the result of a sign-in operation that was initiated with a redirect.
getRedirectResult
final userCredential = await FirebaseApp.firebaseAuth?.getRedirectResult();
None
UserCredential?: Returns a UserCredential object that contains the user's sign-in information.
UserCredential
This method retrieves the result of a sign-in operation that was completed via a redirect, returning the associated user credentials.
Last updated 1 year ago