sethwied
sethwied

Reputation: 43

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

Upvotes: 4

Views: 2619

Answers (1)

scottwtang
scottwtang

Reputation: 2040

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

Upvotes: 6

Related Questions