在 Firebase 2 中,通过 this 登录后,我可以从任何地方获取 facebook accessToken
方式,只需使用 firebase reference ,例如:
firebase.getAuth().facebook.accessToken
现在,我如何在版本 3(网络)中获得它?
注意,我在 Promise 之外需要它 signInWithPopup
谢谢
最佳答案
我刚找到 this关于文档...为什么? :(
Since Firebase Authentication no longer persists the access token, your application will have to do so itself, if needed.
关于javascript - Firebase 3 - javascript - 登录后获取facebook accessToken,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37372150/