Reputation: 1
AuthCredential credential = EmailAuthProvider.getCredential(email, password);
is possible for get credential without the password of above line of code.
Upvotes: 0
Views: 103
Reputation: 4894
Yes, you can. But using a different Authentication System.
EMAIL_LINK_SIGN_IN_METHOD would be your solution.
getCredentialWithLink(String email, String emailLink)
In this case, you don't need a password. Further reference: https://firebase.google.com/docs/reference/android/com/google/firebase/auth/EmailAuthProvider#public-static-authcredential-getcredentialwithlink-string-email,-string-emaillink
Upvotes: 2