top of page

What is Identity Provider IdP?

Oct 26
9 min read

Updated: Oct 28

What is Identity Provider IdP?

 

An identity provider, usually shortened to IdP, is a system that supplies trusted identity information to applications. In a typical federated sign-in, it authenticates a user and sends a verifiable response that a connected application can use to establish who has signed in.

 

The application must be configured to trust that IdP and validate the response. It then applies its own access rules. An IdP does not automatically give every signed-in user permission to read every record or administer every service.

 

For a UK business, the IdP might provide the common sign-in behind a support portal, document service and monitoring dashboard. For a consumer, a familiar sign-in provider can perform a similar role for a third-party website. The trust relationships, account policies and information shared differ between implementations.

 

How an identity provider works

 

An IdP takes part in federation: an application relies on identity information from another system rather than directly checking the user's original authenticator. That information is delivered through a supported protocol and a configured trust relationship.

 

NIST's federation introduction explains that an IdP sends a verifiable assertion and the relying party checks it before establishing an authenticated session. The description here focuses on conventional sign-in services; the wider NIST model also covers subscriber-controlled wallets.

 

The illustration shows a simplified user authentication, identity response, application validation and access sequence. Actual messages and validation steps depend on the protocol and implementation.

 

Identity provider infographic showing authentication, identity response, application validation and application permissions

 

  1. The user opens an application that trusts the IdP.

  2. The application starts the supported sign-in flow.

  3. The IdP authenticates the user, or uses an existing session that satisfies the request and policy.

  4. The protocol delivers the relevant identity response to the application.

  5. The application validates the response, maps the identity to an account and applies its permissions.

 

The IdP and application can each maintain their own session. This distinction explains why a user may not need to type credentials again when opening another application, and why signing out of one service may not sign them out everywhere.

 

IdP, service provider and relying party

 

Term

Main responsibility

Example in a support system

Identity provider

Authenticates users and supplies identity information

The organisation's sign-in service

Service provider or relying party

Consumes and validates that information

The customer support application

Directory

Stores identity records and related attributes

User and group records

Authorisation system

Determines permitted actions on resources

Rules for viewing or changing customer records

 

These are functions, not necessarily separate products. One platform can provide a directory, authentication, federation and other management services together. Conversely, an IdP can use an external directory as an identity source. A database of usernames by itself is not a complete federation integration.

 

In SAML, the application is commonly called a service provider. In OpenID Connect, it is a relying party or client and the identity service is an OpenID Provider. The terminology changes, but the application still needs to know which provider and which messages it should trust.

 

How an IdP relates to SSO and MFA

 

Single sign on is the experience and arrangement that lets multiple connected applications rely on a common sign-in system. The IdP is a central participant in many SSO deployments. SSO does not require every application to receive the user's IdP password.

 

Multi-factor authentication strengthens the sign-in process by requiring distinct factors. An IdP can enforce MFA and other supported policies, while applications can request or require an appropriate authentication level. A convenient, repeated sign-in does not mean there were no security checks: a suitable existing session may satisfy the policy.

 

The NCSC's enterprise authentication guidance recommends an enterprise identity provider supporting MFA and configuring online services to use SSO. The practical result depends on authentication methods, device support and the policies actually enabled.

 

An IdP is not the same thing as a password manager. A password manager usually stores and fills separate application credentials. Federation lets an application rely on validated identity information from a provider. Reusing the same password across separate accounts creates neither a federation trust relationship nor a secure SSO design.

 

SAML and OpenID Connect

 

SAML 2.0 and OpenID Connect are common ways to connect an IdP to an application. SAML uses XML-based assertions and is widely used for enterprise browser sign-in. OpenID Connect defines an identity layer on top of OAuth 2.0 and uses ID tokens to communicate authentication claims.

 

The OpenID Connect Core specification defines the issuer and subject identifiers and the checks used to validate an ID token. An application must verify the response for its intended use, including the trusted issuer, audience and validity, along with the applicable signature and transaction checks.

 

Item

What it is for

What it does not prove by itself

Identity assertion or ID token

Communicates identity and authentication information

Permission to perform every application action

Access token

Permits access to a protected resource under its rules

A universal login credential for every application

Session cookie

Maintains a session within its scope

A valid session at every other service

 

OAuth 2.0 by itself is a framework for delegated access, not a complete standard end-user authentication protocol. Treating any token with an email field as proof of a valid login is unsafe. Use maintained libraries and the documented integration for the chosen protocol and product.

 

Other enterprise authentication methods and federation proxies exist. A proxy can rely on an upstream provider and present itself as an IdP to downstream applications. That adds another trust boundary to understand, rather than removing the need for validation.

 

Identity is not permission

 

Authentication establishes confidence in a claimed identity or credential. Authorisation decides whether that identity may perform a particular action. An IdP can supply groups or other attributes that support access decisions, but the application must interpret and enforce them appropriately.

 

For example, an engineer can sign in successfully while still being denied access to a billing record. That can be the correct outcome. Giving every authenticated account administrator rights would remain a serious access-control error even with strong IdP authentication.

 

Attribute accuracy matters too. A stale group membership can carry old privileges into a connected application. Claims should be limited to what the application needs, with clear ownership of the underlying data and a process for updating it when responsibilities change.

 

Why account mapping deserves attention

 

The application needs a reliable way to connect the federated identity to its local account. A display name is unsuitable for this purpose, and an email address can change or be reassigned. Two providers can also use the same email address without representing the same trust relationship.

 

In OpenID Connect, the issuer and subject identifiers together identify the user for the relying party. Do not assume a subject value is globally unique across unrelated issuers. Account linking, mergers of identity sources and changes of provider need explicit migration and verification rules.

 

A legitimate login to the wrong local account is still a security failure. Test duplicate addresses, renamed users, guest identities and users who can choose between multiple providers. Automatic account linking must not create an opportunity to take over an existing account.

 

A practical example: a UK support business

 

Imagine a UK technical support business using one IdP for a case portal, shared documents and a monitoring dashboard. This is a hypothetical design, not a tested product configuration or a claim about a specific provider.

 

An engineer signs in using the required authentication method. The case portal validates the identity response, finds the right local account and grants the engineer's assigned permissions. A second service can use the existing IdP session if policy allows, while still creating its own session and applying its own rules.

 

Event

Identity-provider responsibility

Application check

Engineer signs in

Apply required authentication policy

Validate the response and map the account

Engineer changes team

Update relevant identity attributes

Apply current permissions and review old grants

Employee leaves

Disable the identity as required

Revoke local sessions and other access paths as supported

Provider is unavailable

Follow continuity and recovery procedures

Establish which sessions and access methods still work

 

The important test is the complete path. Disabling the central identity may stop a fresh login while leaving an existing application session or separate API key usable. The business must test those outcomes instead of assuming centralisation makes every access route behave identically.

 

Sessions, provisioning and account removal

 

The IdP session, application session and issued tokens have different lifetimes and revocation mechanisms. Logout at one party does not universally terminate sessions at another. Single logout needs supported protocols, correct configuration and compatible application behaviour.

 

User provisioning is related but separate. An application might create a local account during first sign-in or receive account updates through a provisioning integration. Disabling an IdP account does not automatically guarantee removal of local accounts, recovery methods, API keys or direct login routes.

 

Review joiners, role changes and departures across both identity and application systems. Define which changes should block new sign-ins, which should end active access and how quickly that should happen. Then test the actual implementation, including caches, token refresh and long-lived sessions.

 

Security, privacy and availability

 

An IdP concentrates trust. Compromise of an identity administrator, signing configuration or active user session can affect several connected applications. Protect administrative access, recovery methods, signing keys and integration settings in proportion to that reach.

 

Use suitable strong authentication, restrict privileged administration and monitor significant changes and sign-in events. A signing key or certificate rollover needs to be understood by connected applications; outdated metadata or hard-coded keys can cause failures. Do not weaken validation merely to make an error disappear.

 

Identity information also needs deliberate handling. Release only the claims needed for the application and manage access to logs and exported assertions. Debugging data can contain personal information or credentials. Avoid posting live tokens or cookies in public support channels.

 

An IdP outage may prevent new authentication without immediately stopping every established application session. Conversely, an application that requires fresh provider interaction can be affected sooner. Plan and test continuity, recovery and controlled emergency access rather than assuming either total independence or universal failure.

 

How to review an IdP integration

 

Begin with the intended outcome: the correct user should reach the correct account with suitable permissions and a manageable recovery process. Inventory applications, user populations, trusted providers and alternative login paths before changing settings.

 

  1. Confirm supported protocols and use maintained integration libraries.

  2. Record trusted issuers, application identifiers, redirect endpoints and key-discovery arrangements.

  3. Test required authentication strength and account mapping with representative users.

  4. Check attribute release and the permissions that applications derive from it.

  5. Test logout, role changes, account suspension and existing sessions.

  6. Test key rollover, provider outage and recovery procedures.

  7. Monitor relevant events and repeat checks after significant changes.

 

Use authorised test accounts and non-sensitive data. Test failed as well as successful requests: an untrusted issuer, wrong audience, expired response or unexpected account should not be accepted. The exact checks depend on the protocol; a checklist cannot replace the product's security documentation.

 

Common IdP problems

 

  • Login succeeds but access is denied: the application assignment or local permissions may be missing.

  • The wrong account opens: account selection or mapping may not match the intended identity.

  • The response is rejected: issuer, audience, signature, time validity or request correlation may be wrong.

  • Users repeatedly return to sign-in: the application or provider session may not be retained as expected.

  • A former employee remains active: local sessions or alternative credentials may survive central account suspension.

  • Sign-in fails after a key change: discovery, metadata or rollover handling may be incomplete.

 

Trace the failure using both provider and application logs. Record time and non-sensitive correlation details, then identify whether the problem is authentication, protocol validation, account mapping or permissions. These are different causes and require different fixes.

 

Key takeaway

 

An IdP supplies trusted identity information; the application must validate it and enforce the right access. A reliable design connects strong authentication, careful account mapping, current attributes, controlled sessions and tested recovery across the complete system.

 

Frequently asked questions

 

What does IdP stand for?

 

IdP stands for identity provider, a system that supplies trusted identity information to connected applications.

 

Is an IdP the same as SSO?

 

No. An IdP is a participant in many SSO systems. SSO describes the arrangement that lets connected applications rely on a common sign-in system.

 

Is an identity provider just a directory?

 

No. A directory stores identity information. An IdP also takes part in authentication and federation, although one platform can provide both functions.

 

Does an IdP decide every application permission?

 

Not necessarily. It can supply groups or attributes, but applications still need to apply and enforce their access rules.

 

Does the application receive my IdP password?

 

In conventional federation-based sign-in, the application relies on validated identity information rather than receiving the user's IdP password. Other integration methods can differ.

 

Does disabling an IdP account immediately end all access?

 

Not necessarily. Existing sessions, tokens and separate credentials depend on the applications' revocation and expiry behaviour. Review application sessions, access and refresh tokens, provisioned local accounts and independent API keys. Test both new sign-in and an already active session. Removing the ability to authenticate again is a different control from invalidating access that an application has already accepted.

 

Can an application trust more than one IdP?

 

Yes, if it supports and correctly configures those integrations. It must distinguish issuers and map identities safely rather than assume matching email addresses identify the same account.

 
 
UK Techie Broadband Providers
bottom of page