firebase / FirebaseUI-Android

Optimized UI components for Firebase
https://firebaseopensource.com/projects/firebase/firebaseui-android/
Apache License 2.0
4.61k stars 1.83k forks source link

Get AuthCredential instead of login with Firebase UI Phone Auth #2059

Open ArcherEmiya05 opened 1 year ago

ArcherEmiya05 commented 1 year ago

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

Yes

Step 2: Describe your environment

Step 3: Describe the problem:

Steps to reproduce:

  1. Integrate Firebase Auth UI
  2. Use Phone Auth as the only provider
  3. Sign in Phone Auth

Observed Results:

Instead of signing in which returns a null AuthCredential is there a way for us to get Phone Auth Credential only and not performing sign in?

Expected Results:

Add a flag whether Phone Auth will sign in or just get the AuthCredential that can be use for linking.