Skip to content

Commit 301c25a

Browse files
author
Aaron Mandle
committed
Add Twitter and Facebook IDP SmartLock support
1 parent e8baa0e commit 301c25a

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)