SAMLAuthProviderConfig interface Stay organized with collections Save and categorize content based on your preferences.
The [SAML](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html) Auth provider configuration interface. A SAML provider can be created viaBaseAuth.createProviderConfig().
Signature:
exportinterfaceSAMLAuthProviderConfigextendsBaseAuthProviderConfigExtends:BaseAuthProviderConfig
Properties
| Property | Type | Description |
|---|---|---|
| callbackURL | string | This is fixed and must always be the same as the OAuth redirect URL provisioned by Firebase Auth,https://project-id.firebaseapp.com/__/auth/handler unless a customauthDomain is used. The callback URL should also be provided to the SAML IdP during configuration. |
| idpEntityId | string | The SAML IdP entity identifier. |
| rpEntityId | string | The SAML relying party (service provider) entity ID. This is defined by the developer but needs to be provided to the SAML IdP. |
| ssoURL | string | The SAML IdP SSO URL. This must be a valid URL. |
| x509Certificates | string[] | The list of SAML IdP X.509 certificates issued by CA for this provider. Multiple certificates are accepted to prevent outages during IdP key rotation (for example ADFS rotates every 10 days). When the Auth server receives a SAML response, it will match the SAML response with the certificate on record. Otherwise the response is rejected. Developers are expected to manage the certificate updates as keys are rotated. |
SAMLAuthProviderConfig.callbackURL
This is fixed and must always be the same as the OAuth redirect URL provisioned by Firebase Auth,https://project-id.firebaseapp.com/__/auth/handler unless a customauthDomain is used. The callback URL should also be provided to the SAML IdP during configuration.
Signature:
callbackURL?:string;SAMLAuthProviderConfig.idpEntityId
The SAML IdP entity identifier.
Signature:
idpEntityId:string;SAMLAuthProviderConfig.rpEntityId
The SAML relying party (service provider) entity ID. This is defined by the developer but needs to be provided to the SAML IdP.
Signature:
rpEntityId:string;SAMLAuthProviderConfig.ssoURL
The SAML IdP SSO URL. This must be a valid URL.
Signature:
ssoURL:string;SAMLAuthProviderConfig.x509Certificates
The list of SAML IdP X.509 certificates issued by CA for this provider. Multiple certificates are accepted to prevent outages during IdP key rotation (for example ADFS rotates every 10 days). When the Auth server receives a SAML response, it will match the SAML response with the certificate on record. Otherwise the response is rejected. Developers are expected to manage the certificate updates as keys are rotated.
Signature:
x509Certificates:string[];Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.