Down-party - SAML 2.0

FoxIDs down-party SAML 2.0 enable you to connect an SAML 2.0 based application.

FoxIDs down-party SAML 2.0

Your application become a SAML 2.0 Relying Party (RP) and FoxIDs acts as an SAML 2.0 Identity Provider (IdP).

FoxIDs support SAML 2.0 redirect and post bindings.

A down-party expose SAML 2.0 metadata where your application can discover the SAML 2.0 Identity Provider (IdP).

Both the login, logout and single logout SAML 2.0 profiles are supported. The Artifact profile is not supported.

The FoxIDs SAML 2.0 metadata do only include logout and single logout information if logout is configured in the SAML 2.0 down-party.

How to guides:

Require multi-factor authentication (MFA)

The SAML 2.0 Relying Party (RP) can require multi-factor authentication by specifying the urn:foxids:mfa value in the RequestedAuthnContext.AuthnContextClassRef property.

The AuthnContextClassRef property can be set in the Login method in SamlController.cs:

public IActionResult Login(string returnUrl = null)
    var binding = new Saml2RedirectBinding();
    binding.SetRelayStateQuery(new Dictionary<string, string>
        { relayStateReturnUrl, returnUrl ?? Url.Content("~/") }

    var saml2AuthnRequest = new Saml2AuthnRequest(saml2Config)
        // To require MFA
        RequestedAuthnContext = new RequestedAuthnContext
            Comparison = AuthnContextComparisonTypes.Exact,
            AuthnContextClassRef = new string[] { "urn:foxids:mfa" },

    return binding.Bind(saml2AuthnRequest).ToActionResult();

See more code in the AspNetCoreSamlSample and SamlController.cs line 104.


How to configure your application as an SAML 2.0 Relying Party (RP).

The FoxIDs down-party SAML 2.0 metadata endpoint is
if the application is configured in tenant tenant-x and track track-y with the down-party name party-saml-pr1.

A down-party application can possibly support login through multiple up-parties by adding the up-party name to the URL.
An up-party name e.g. login can possible be added to the metadata URL like this

The following screen shot show the basic FoxIDs down-party SAML 2.0 configuration available in FoxIDs Control Client.

More configuration options become available by clicking Show advanced settings.

Configure SAML 2.0

Change the issued SAML 2.0 claim collection with claim transforms.