Firebase google auth automatically selecting user. How to force it to select account

后端 未结 2 1635
一向
一向 2020-12-17 22:41

If in any browser, when i am logged in with single google account and try to invoke \'sign in with google\' option on firebase, it is automatically logging-in to firebase wi

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-17 22:58

    This worked for me: https://groups.google.com/forum/#!topic/firebase-talk/gxBm0WKCuIY

    var provider = new firebase.auth.GoogleAuthProvider();
    provider.setCustomParameters({
      prompt: 'select_account'
    });

提交回复
热议问题