FireBase authentication benefits

北城余情 提交于 2020-01-30 12:40:28

问题


This question might sound silly to some, my scenario was that i had to implement facebook login in my mobile app.

I added to my project:

  1. Facebook SDK
  2. Firebase authentication SDK
  3. Implement both Facebook login and Firebase authentication mechanism for facebook.

Couldn't i just implement facebook SDK and implement the login?

I understand the benefit of receiving statistics about users and logins from different social networks in one place.

Are there more benefits i am missing?


回答1:


You're most likely to use Firebase Authentication if you

  • Use other Firebase products, which integrate with it. For example Cloud Firestore integrates with Firebase Authentication to provide a server-side security model, while allowing direct database access from the client.
  • Use multiple providers, and want to link them together. Firebase Authentication allows accounts to be linked, so that a user ends up with one profile, no matter if they sign in with Facebook today, and with Google tomorrow.


来源:https://stackoverflow.com/questions/52064269/firebase-authentication-benefits

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