How to avoid that firebaseUI Email Link authentication opens a second browser tab?

走远了吗. 提交于 2021-01-05 13:00:10

问题


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:

  1. { url: '';}, this has no effect.
  2. {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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!