且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Azure AD B2C进行Firebase身份验证

更新时间:2023-02-15 23:25:07

我和我的团队针对自定义令牌开发了针对此确切方案的解决方案.我们的实施自几个月以来一直在Azure上运行,现在我们还没有出现任何问题.

Me and me team developed a solution for this exact scenario around custom tokens. Our implementation run since a couple of months on Azure and we had no problem at all yet.

以下是流程:

注意:

  1. Azure B2C可以用任何STS代替.
  2. Azure功能可以由任何后端进程替换.


此外,好处是您不必在Firebase中维护用户,因为您无需创建Firebase用户,而只需使用自定义令牌即可,因此无需删除用户.


Also, the good thing is that you don't have to maintain users in Firebase since you don't create Firebase users and only use a custom token so no need to delete users.