简体   繁体   中英

How to only allow one user sign in fire base Authentication account at the same time? [duplicate]

提示:本站收集StackOverFlow近2千万问答,支持中英文搜索,鼠标放在语句上弹窗显示对应的参考中文或英文, 本站还提供   中文简体   中文繁体   中英对照 版本,有任何建议请联系yoyou2525@163.com。

In my angular application, user sign in through google firebase authentication account. I do not want to several users can sign in through the same account at the same times from different devices. What I expect is that when a user sign in in his device, other users will be automatically signed out from that account in their devices.

Can you tell me how can I do that?

1 anwsers

When you use Firebase Authentication in your app there is at most one signed-in user at once. If a new user signs into the app, any previous user is automatically signed out from the app.

If this doesn't work for you, I recommend that you update your question to include the minimal code that reproduces the behavior .

暂无
暂无

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2022 STACKOOM.COM