SAML 2.0 Setup: Metadata vs No-Metadata

This article covers the benefits of using SAML 2.0 Metadata when establishing trust between two SAML 2.0 Federation servers, as opposed to providing and entering information manually by typing/copying/pasting URLs, certificates.

Establishing Trust

Trust establishment in the context of SAML 2.0 WebSSO is the act of configuring a SAML 2.0 Identity Provider and a SAML 2.0 Service Provider so that they can perform Federation SSO operations.

Establishing trust involves the following steps:

The above only covers the Federation SSO setup. If the Federation partners support other services, such as Attribute Authority and Attribute Requester, then more Service URLs and certificate information need to be exchanged.

Manual Process

As you can see, there can be a lot of information exchanged between the administrators responsible for managing the Federation servers, and any minor error might result in the Federation agreement not being set up properly and cause runtime errors.

The errors that could occur due to a manual trust establishment could be:

Those errors result in:

The errors listed above occur more than people assume, and this leads to time spent chasing down why Federation SSO is not working correctly that almost point to a Federation Trust establishment mistake.

Using SAML 2.0 Metadata

The SAML 2.0 specifications define the Metadata document which contains all the information a server has to know about its counterpart to perform Federation operations with the remote partner.

This information includes:

The SAML 2.0 Metadata is typically generated by the federation server itself and is consumed by the partner’s Federation server: so no manual intervention takes place to create and consume this document and thus reducing the number of potential errors.

Using SAML 2.0 Metadata offers the following advantages:

More importantly, it saves time by reducing the possibility of mistakes during the federation trust establishment, so that there will be fewer chances of runtime errors later on.

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.