使用 Firebase Auth Capacitor 插件的 Azure AD B2C 登录:Ionic/Angular
Azure AD B2C login with Firebase Auth Capacitor plugin: Ionic/Angular
我使用 this Capacitor plugin 通过 MS 进行身份验证。但还没有运气。
我已经关注了this doc并且配置得很好
但是你能告诉我在哪里设置吗?
When registering apps with these providers, be sure to register the
*.firebaseapp.com domain for your project as the redirect domain for your app.
错误
The supplied auth credential is malformed or has expired. [ Error
getting access token from microsoft.com, OAuth2 redirect uri is:
https://my-app-123a2.firebaseapp.com/__/auth/handler, response:
OAuth2TokenResponse{params: error=invalid_reques
这是 Ionic/Angular 设备上的 Ionic/Angular 本机应用程序。
此问题已在以下 GitHub 问题中解决:https://github.com/robingenz/capacitor-firebase/issues/74#issuecomment-1107418833
确保您 select Web
在注册 Microsoft OAuth 客户端时作为重定向 URI 的平台。
我使用 this Capacitor plugin 通过 MS 进行身份验证。但还没有运气。
我已经关注了this doc并且配置得很好
但是你能告诉我在哪里设置吗?
When registering apps with these providers, be sure to register the *.firebaseapp.com domain for your project as the redirect domain for your app.
错误
The supplied auth credential is malformed or has expired. [ Error getting access token from microsoft.com, OAuth2 redirect uri is: https://my-app-123a2.firebaseapp.com/__/auth/handler, response: OAuth2TokenResponse{params: error=invalid_reques
这是 Ionic/Angular 设备上的 Ionic/Angular 本机应用程序。
此问题已在以下 GitHub 问题中解决:https://github.com/robingenz/capacitor-firebase/issues/74#issuecomment-1107418833
确保您 select Web
在注册 Microsoft OAuth 客户端时作为重定向 URI 的平台。