Azure AD B2C login with Firebase Auth Capacitor plugin: Ionic/Angular


I use this Capacitor plugin to Auth with MS. But no luck yet.

I have followed this doc and configured it all well.

But can you tell me where to set this up?

When registering apps with these providers, be sure to register the
* 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, OAuth2 redirect uri is:, response:
OAuth2TokenResponse{params: error=invalid_reques

This is an Ionic/Angular Native app on an Android device.


This problem was solved in the following GitHub issue:

Make sure you select Web as the platform for your redirect URI when registering a Microsoft OAuth client.

Answered By – RGe

Answer Checked By – Clifford M. (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.