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
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/AUTHENTICATION.md
+64Lines changed: 64 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ You can sign in a user either
5
5
6
6
*[anonymously](#anonymous-login),
7
7
* by [email and password](#email-password-login),
8
+
* by [email link](#email-link),
8
9
* by [phone verification](#phone-verification),
9
10
* using a [custom token](#custom-login),
10
11
* using [Facebook](#facebook-login),
@@ -239,6 +240,69 @@ Don't forget to enable email-password login in your firebase instance.
239
240
</details>
240
241
241
242
243
+
### Email-Link login
244
+
Enable email-password login in your firebase instance, and flip the "E-mail link" switch.
245
+
246
+
This login type allows your users to login without providing a password. They can simply click a link
247
+
and get redirected to the app. The app may even run on a different device.
248
+
249
+
Enable dynamic links, as described in the [Dynamic Links readme]("./INVITES_DYNAMICLINKS.md"), because the user
250
+
that receives the link will need to be redirected to your app.
251
+
252
+
#### iOS configuration
253
+
- Specify the bundle id of your app in the Firebase console.
254
+
255
+
#### Android configuration
256
+
- Specify the package name of your app in the Firebase console.
257
+
- Upload the SHA-1 and SHA-256 of the (debug) signing certificates to the Firebase console, as described in the [Dynamic Links readme]("./INVITES_DYNAMICLINKS.md").
258
+
- Also add an `android:host` for the `emailLinkOptions.url` to your `app/App_Resources/Android/AndroidManifest.xml` file as described in that readme.
Copy file name to clipboardExpand all lines: docs/INVITES_DYNAMICLINKS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ _Invites_ lets you invite other users to your app from right within your own app
8
8
Keep in mind that invites are based of dynamic links, and so calling for an invite may return a plain dynamic link, in which case invitationId is null.
9
9
10
10
### Android
11
-
*[Make sure you've uploaded your SHA1 fingerprint(s)](https://developers.google.com/android/guides/client-auth) to the Firebase console, then download the latest `google-services.json` file and add it to `app/App_Resources/Android`.
11
+
*[Make sure you've uploaded your SHA1 and SHA256 fingerprints](https://developers.google.com/android/guides/client-auth) to the Firebase console.
12
12
13
13
### iOS
14
14
* On iOS the user must be signed in with their Google Account to send invitations.
0 commit comments