You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GETTING_STARTED.md
+53-55Lines changed: 53 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ dependencies {
34
34
}
35
35
```
36
36
37
-
## Provider configuration
37
+
## Set up sign-in methods
38
38
39
39
Some providers need additional setup before you can sign users in:
40
40
-[Sign in with Google](https://firebase.google.com/docs/auth/android/google-signin)
@@ -45,10 +45,61 @@ Some providers need additional setup before you can sign users in:
45
45
-[Sign in with Microsoft](https://firebase.google.com/docs/auth/android/microsoft-oauth)
46
46
-[Sign in with Yahoo](https://firebase.google.com/docs/auth/android/yahoo-oauth)
47
47
48
-
### Providers
48
+
### Other OAuth providers
49
49
50
50
Apple, GitHub, Microsoft, Yahoo, Twitter and custom OAuth providers are configured in Firebase Authentication. Most of them do not require extra Android-specific resources.
51
51
52
+
Choose the providers you want inside `authUIConfiguration`:
53
+
54
+
```kotlin
55
+
val configuration = authUIConfiguration {
56
+
context = applicationContext
57
+
providers {
58
+
provider(AuthProvider.Email())
59
+
provider(
60
+
AuthProvider.Phone(
61
+
defaultCountryCode ="US",
62
+
)
63
+
)
64
+
provider(
65
+
AuthProvider.Google(
66
+
scopes =listOf("email"),
67
+
serverClientId =null,
68
+
)
69
+
)
70
+
provider(AuthProvider.Facebook())
71
+
}
72
+
}
73
+
```
74
+
75
+
### Email link sign-in
76
+
77
+
Email link sign-in now lives in the email provider configuration:
0 commit comments