(DEPRECATED)Firebase Email Authenticate Flow - mirror-media/mirror-media-nuxt GitHub Wiki
Firebase Authenticate with Firebase Using Email Link flow.
For more info: https://firebase.google.com/docs/auth/web/email-link-auth
1. https://website/login firebase.auth.sendSignInLinkToEmail("[email protected]")
+
|
|
v
2. member's email service click "https://website/finishSignIn" link in email
+
|
|
v
3. https://website/finishSignUp firebase.auth.isSignInWithEmailLink(window.location.href)
+ +
No | | Yes
| +
| +------------+email validation+-----------+
| | v |
| | is email store in storage of device? |
| | + + |
| | | | |
| | No | | Yes |
| | | | |
| | v | |
| | provide your email | |
| | + | |
| | | | |
| +-----------------------------------------+
| | v
| +--------> sign in with email successfully
| with firebase.auth.signInWithEmailLink("[email protected]", window.location.href)
| +
| |
| |
| |
| |
| |
| |
| |
| v
4. https://website/ +----------------------------------------> home page