EmailLinkSignIn - retrieve email used
See original GitHub issueIs there any way to retrieve the email used to send an email link without implementing a custom function/implementation of the firebaseui react?
i.e. it’d be great to have something similar to the below in the umailLinkSignIn callback:
emailLinkSignIn: function(email) {
window.localStorage.setItem('emailForSignIn', email)
}
so we can avoid reprompting for the email.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Authenticate with Firebase Using Email Link in JavaScript
You can use Firebase Authentication to sign in a user by sending them an email containing a link, which they can click to...
Read more >Firebase UI Email Link signin intent extra is null - Stack Overflow
Shows despite successfully getting a intent, there is no EMAIL_LINK_SIGNIN extra in the getExtras() . I spend few hours looking into the source ......
Read more >Manage your email addresses - Android - Google Account Help
You can add a non-Gmail email address to your account and use it to sign in, recover your password, and more. ... Manage...
Read more >Auth - Provider - Email Link - air native extensions
You can use Firebase Authentication to sign in a user by sending them an ... Note that email/password sign-in must be enabled to...
Read more >Passwordless Signup With Firebase on the Web - Fireship
How to implement passwordless email-link authentication with Firebase and ... passwords and personally find it much more user-friendly.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
perfect, once I changed the signInFlow from ‘popup’ to ‘redirect’ it started automatically logging in with the correct email address - thanks.
Still seems to be relevant if you have is set as popup signInFlow though.
have used the below in uiConfig as a workaround:
signInFlow: firebase.auth().isSignInWithEmailLink(window.location.href) ? 'redirect' : 'popup',
I had the same problem and it took quite a while to figure out. Setting
signInFlow
toredirect
makes passwordless e-mail sign in work.