Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Service Provider

Direct answer

A service provider (SP), or relying party, is the application that trusts an identity provider's assertions or tokens to log users in, configured with the IdP's metadata and certificate.

When to use this

Use this when an application trusts an IdP to log users in.

First 30 seconds

1. The SP/relying party consumes assertions/tokens.

2. Validate everything.

3. Map claims to local roles.

4. Disable local password logins where possible.

5. Handle logout.

Operational verification

assertion/token → SP validation → session

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Identity, authentication and access control
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIdentity, authentication and access control
Scope / prerequisiteUse this when an application trusts an IdP to log users in.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Testing an SP Verify boundary
  • Send an assertion with a changed attribute but the original signature — it must be rejected.
  • Replay an old assertion after NotOnOrAfter — rejected.
  • Send an assertion for another SP's audience — rejected.
  • Use tools such as SAML Raider (Burp) in an authorised test environment.
Step 2 Common SP vulnerabilities Narrow the fault
  • Not validating the signature, or accepting unsigned assertions.
  • XML signature wrapping (SAML) — use a maintained library.
  • Ignoring NotOnOrAfter/exp, allowing replay.
  • Accepting tokens meant for another audience.
  • Allowing the alg: none JWT or confusing RS256/HS256.
Step 3 Common mistakes Narrow the fault
  • SP metadata not updated after IdP certificate rollover.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Configured with IdP metadata and certificate.
  • Maps claims to local users.
  • Must validate assertions.
Key checks
  • SP SSO configuration — entityID/ACS or client ID/redirect
  • Token/assertion validation code — checks
  • Local login disabled — SSO only
ReferenceWhy it matters1 section · depth on demand

What the SP must check

  • Signature on the assertion/token using the IdP's current certificate or JWKS.
  • Issuer and audience match this SP.
  • Validity window (NotBefore/NotOnOrAfter, exp) with small clock skew.
  • Replay protection (InResponseTo, nonce).
  • The expected user identifier claim, not just the display name.

Many SSO vulnerabilities come from SPs that skip signature or audience checks.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

The service provider (SP) — in OIDC terms the relying party — is the application that trusts the identity provider to authenticate users. It receives an assertion or token, validates it and creates its own session.

What the SP must validate:

CheckWhy
Signature with the IdP's keyAuthenticity
Issuer and audienceToken meant for this SP from the trusted IdP
Validity timesNot expired, not used too early
Nonce/InResponseToPrevent replay and injection
Recipient/redirect URICorrect endpoint

Use well-maintained SAML/OIDC libraries rather than custom parsing — signature-wrapping and validation bugs are a classic source of authentication bypasses.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIdentity, authentication and access control current

Authoritative/upstream documentation reviewed for bounded claims in Single Sign-On & Federation → Service Provider. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc7522 · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
relying partyservice provider saml
Confirmation

Confirm action

Continue?