Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Auth with Azure SAML SSO

I've already been able to get a SAML SSO up and running perfectly using this article.

However, when I try to replicate the steps using Azure as the IDP, I get the following error:

FirebaseError: Firebase: SAML Response <Issuer> mismatch. (auth/invalid-credential).

I don't know why more info isn't provided in the error, but it's left me without a lot of options for how to fix it.

I'm setting up Azure using a non-gallery Enterprise App, assigning a user to the app, and attempting to sign in on the Firebase app using the SAMLAuthProvider and signInWithPopup (as outlined in the article). Here's what the SSO configuration screens look like for both Azure and Google Cloud Identity

Configuration Screens

like image 695
sethwied Avatar asked Oct 29 '25 17:10

sethwied


1 Answers

Azure AD is the IDP, and "Firebase" is the SP, so it looks like you have some of the values misconfigured.

The error FirebaseError: Firebase: SAML Response <Issuer> mismatch. should be referring to the Entity IDs not matching.

Start with making these 2 changes. You'll have to determine your SP Entity ID, it's likely your app's URL

enter image description here

like image 67
scottwtang Avatar answered Nov 01 '25 13:11

scottwtang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!