Skip to content

Commit 4a40143

Browse files
authored
Merge pull request #372 from amandle/smartlock_idps
Add Facebook and Twitter to Smartlock read #171
2 parents a1b2414 + 301c25a commit 4a40143

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

auth/src/main/java/com/firebase/ui/auth/util/CredentialsAPI.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ public void requestCredentials(final boolean shouldResolve, boolean onlyPassword
179179
.setPasswordLoginSupported(true);
180180

181181
if (!onlyPasswords) {
182-
crBuilder.setAccountTypes(IdentityProviders.GOOGLE);
182+
crBuilder.setAccountTypes(
183+
IdentityProviders.GOOGLE,
184+
IdentityProviders.TWITTER,
185+
IdentityProviders.FACEBOOK);
183186
}
184187

185188
showProgress();

0 commit comments

Comments
 (0)