问题
When using the Email Link Authentication method with firebaseUI, the emailed hyperlink opens a new browser tab in order to confirm/authenticate the email reception to firebase, and then redirects to the initial URL. This leaves the user with two browser tabs with the same (authenticated) original URL.
Is there a way to end up with only one open browser tab?
I have tried to configure the firebaseUI EmailAuthProvider with an emailLinkSignIn function returning:
- { url: '';}, this has no effect.
- {url: '[another url]';}, this opens 'another url' but then does not authenticate the user in the original browser tab.
firebaseUI-web - Configure Email Provider,
firebaseUI-angular
来源:https://stackoverflow.com/questions/60673348/how-to-avoid-that-firebaseui-email-link-authentication-opens-a-second-browser-ta