Seventh Sense
Glossary

SenseCrypt
Technical library

Federation

SAML 2.0

Definition
SAML 2.0 enables federation: an identity provider signs an XML assertion about the user, and a service provider validates it to establish a session.

It is verbose, it is two decades old, and it remains the only federation option a great many enterprise applications offer.

6 sectionsSeventh Sense / SenseCrypt
On this page

01

What SAML does

SAML 2.0 moves the sign-in out of the application. An identity provider authenticates the user and signs an XML document stating who they are, and the service provider validates that signature and starts a local session. The application never sees a credential and never stores one.

It is unfashionable and it is durable. Twenty years of enterprise software shipped with SAML built in, and for a large share of business applications the enterprise tier still means SAML specifically. An identity strategy limited to newer protocols will meet an application it cannot connect inside the first month.

02

Inside a SAML assertion

The assertion itself is an XML document, signed by the identity provider once the user has authenticated. A service provider validates that signature, evaluates the conditions scoping the assertion, and maps the attributes inside onto its own account model.

Signature validation is the part implementations get wrong, and the failures are quiet rather than obvious. XML allows one document to be read in more than a single way, so a library that validates a signature over one element while taking identity from another can be persuaded to accept a forgery. Use a maintained library, keep it current, and do not hand-roll the parsing.

  • Issuer: which identity provider produced the assertion.
  • Subject and NameID: the identifier a service provider stores against its local account.
  • Conditions: the validity window and the audience the assertion was intended for.
  • Attribute statement: whichever user attributes are released to that particular service provider.
  • Signature: the cryptographic proof over the assertion, the response, or both.

03

Where SAML is still the right answer

SAML is the workforce standard. If a finance system, an HR platform and a ticketing tool all advertise single sign-on, the enterprise tier almost certainly means SAML on at least one of them.

New consumer-facing work rarely begins with SAML, because OIDC is less work to build into a browser or a mobile client and its tokens are easier to handle in modern stacks. In practice the choice is usually settled by what the application on the other side already supports, not by preference.

Workforce single sign-on

A single authentication opens every business application a staff member touches, and a single deactivation closes all of them. That symmetry is the whole operational argument.

B2B SaaS tenants

Selling into enterprises means accepting whichever identity provider the customer already runs. For most of those buyers the format on the table is SAML, and it usually arrives as a metadata file attached to an email.

Applications you cannot modify

Software bought rather than built has usually shipped with SAML support already inside it, and no route to add a newer protocol afterwards. For an older estate that makes SAML the cheapest available path to federation.

04

What SAML does not do

An assertion settles one question, and only for the moment it was issued: which person is authenticating. Account creation falls outside it, so does account removal, and no part of the protocol notifies a service provider that somebody has left the organization.

That is why SAML deployments accumulate orphaned accounts in every connected application unless something else handles the lifecycle. The something else is usually SCIM, and pairing the two is the difference between federation that improves security posture and federation that only improves the login experience.

05

How SenseCrypt acts as a SAML identity provider

SenseCrypt is a standard SAML 2.0 identity provider. What a service provider receives is an ordinary signed assertion, so the work on both sides comes down to metadata exchange and attribute mapping, as it would with any conformant IdP. This is standards-based configuration rather than installed software, which matters when the service provider is a SaaS product you do not control.

Everything distinctive happens before the assertion exists. Authentication is a live face check on an enrolled phone, with no password and no shared code anywhere in the flow, which leaves a phishing page aimed at that sign-in with no shared password to collect. Each tenant is its own issuer with its own signing certificate, and the verification key is selected by the certificate's SHA-256 fingerprint.

Metadata exchange and attribute mapping

Configure the service provider from the tenant's published metadata and map the attributes it expects. Attribute release is driven by the same schema and scope model used on the OIDC side, so one directory serves both protocols.

The account lifecycle runs alongside

SCIM 2.0 is supported on the same platform, so provisioning and deprovisioning operate beside the federation rather than as a quarterly spreadsheet exercise.

Group membership decides who gets an assertion

Access is default-closed: a user signs in to an application only if they belong to at least one group attached to it, and an application with no attached groups admits nobody. The rule is re-evaluated on every sign-in.

Roles are released as attributes

Group and role membership is computed centrally and released to the service provider as attributes. What each role may actually do remains a decision inside the application, as it should be.

06

Frequently asked questions

Do companies still use SAML in 2026?

Yes, extensively. SAML 2.0 remains the default for workforce single sign-on and for B2B SaaS federation, because the installed base of enterprise applications supporting it is enormous and stable.

What is the difference between SAML and OIDC?

SAML exchanges signed XML assertions through the browser and suits established enterprise applications. OIDC exchanges signed JSON tokens over HTTPS and suits modern web, mobile and API architectures. They solve the same federation problem with different formats.

Can one identity provider serve both SAML and OIDC applications?

Yes, and most estates need exactly that. SenseCrypt serves both from one directory, so a user has one enrollment and one set of group memberships regardless of which protocol a given application speaks.

How is a SAML integration with SenseCrypt set up?

Exchange metadata between the tenant and the service provider, then map the attributes the application expects. It is the same configuration work as with any standards-compliant IdP, with the face ceremony happening inside the provider's own flow.

Does SAML handle deprovisioning?

No. SAML answers who is signing in at this moment and says nothing about account lifecycle. Use SCIM 2.0 alongside it so that a leaver's accounts are actually deactivated in each connected application rather than merely blocked at the front door.

Next step

The next level of detail depends on your stack, so the fastest route is a conversation.