Identity provider definition
An identity provider (IdP) is a system that verifies who a user is and then passes that verified identity, usually with attributes such as email address and group membership, to other applications, so those applications can grant access without running their own login.
An identity provider (IdP) is the system that authenticates a user and vouches for that identity to other applications. It might be a workforce directory like Okta or Microsoft Entra ID, or a social login like Sign in with Google. In Sanity, Studio logins can be routed through an organization's IdP over

What does an identity provider do?
An identity provider (IdP) checks a user's credentials, such as a password, passkey, or second factor, and then tells other applications who that user is. Those applications trust the IdP's answer, not their own list of passwords. NIST defines the IdP as "the party in a federation transaction that creates an assertion for the subscriber and transmits the assertion to the RP," where the relying party (RP) is the application that accepts the identity. An assertion is a signed statement from the IdP saying, in effect, "this person logged in, and here is what we know about them."
Identity providers come in a few common kinds. Workforce directories such as Okta, Microsoft Entra ID (formerly Azure AD), Google Workspace, JumpCloud, and PingIdentity hold an organization's employees and contractors. Social or consumer logins such as Sign in with Google or GitHub let individuals reuse an existing account. Customer identity (CIAM) services handle sign-up and login for a company's own customers.
NIST also describes a closely related role, the Credential Service Provider, which issues credentials to users. The IdP issues the assertions that other applications rely on. In practice, the same system often plays both roles.
How does an identity provider work with single sign-on?
An identity provider makes single sign-on (SSO) possible by authenticating a user once and then sending signed proof of that login to each application the user opens. The two standard protocols for this exchange are SAML 2.0 and OpenID Connect.
With SAML 2.0, an OASIS standard, the flow runs in four steps. First, the user opens an application, called the service provider (SP). Second, the SP redirects the user to the IdP. Third, the IdP authenticates the user. Fourth, the IdP sends back an XML assertion that can include authentication details, attributes like email and groups, and authorization decisions, and the SP grants access based on it.
With OpenID Connect (OIDC), the IdP is called the OpenID Provider. It issues an ID Token, a signed JSON Web Token (JWT) carrying claims about who the user is and how and when they authenticated. The relying party validates that token before letting the user in. OIDC Core 1.0 is also published as the international standard ISO/IEC 26131:2024.
What is the difference between SSO and SCIM provisioning?
SSO controls whether a user can log in, while SCIM provisioning controls whether the user's account exists in the first place. An identity provider can do one without the other.
SSO through SAML or OIDC checks the user at login time. SCIM 2.0, the System for Cross-domain Identity Management, is a REST protocol published by the IETF in 2015 as RFC 7644, with its data model in RFC 7643. Through SCIM, the IdP calls an application's /Users and /Groups endpoints to create, update, and deactivate accounts, often before the person has ever logged in.
The gap between the two matters at offboarding. When an identity provider handles SSO but not provisioning, removing someone from the directory stops them from logging in through SSO, but their account record can remain in the downstream application until someone deletes it there.
Why does an identity provider matter for a content platform?
An identity provider lets an organization control who can edit, publish, and administer content from one place, not in every tool separately. For a content platform, that pays off in three ways.
The first is central access control. Editors, developers, and agency contributors log in with the same account and the same security policies, such as multi-factor authentication, that the organization applies everywhere else. The second is offboarding. When someone leaves, the change starts in the directory rather than in a checklist of individual apps. The third is role mapping. Permissions can be derived from IdP groups, so an editor's access follows their team membership instead of being set by hand in each tool.
Credentials are a common target for attackers. The Verizon 2025 Data Breach Investigations Report found credential abuse was the most common initial attack vector, present in 22% of breaches studied. An IdP does not prevent breaches by itself, but it gives an organization one place to enforce and audit how people sign in.
How does Sanity use an identity provider?
Sanity connects to an external identity provider through SAML SSO, so people logging in to Sanity Studio or Sanity Manage are authenticated by the organization's own IdP, such as Okta, Google, Microsoft Entra ID, JumpCloud, or PingIdentity. Sanity is the AI Content Operating System, and routing access through the organization's directory keeps editorial access tied to the same identity setup the rest of the company uses.
Administrators configure enterprise SSO in Manage under Settings > SAML SSO. The IdP sends the user's email, first name, and last name, plus a groups attribute. Role mapping rules read those groups and assign project roles. With Enable auto update roles on login turned on, Sanity re-evaluates the mapping rules at every SAML SSO login and replaces the user's roles with the result. Without it, mapping applies once, at the user's first SAML SSO login.
When a project manages roles through mapping, a manual role change in Sanity is rejected with the message "Roles are managed via SAML for this project." Roles are then changed by editing the user's groups in the IdP or by editing the mapping rules. SAML sessions last 12 hours by default, and administrators can choose 12 hours, 16 hours, 1 day, 2 days, 3 days, or 1 week.
Is an identity provider the same as SSO, SAML, or OAuth?
No. An identity provider is a system, not an experience or a protocol.
SSO is what the user sees: one login that opens many applications. The identity provider is the system behind that experience. SAML and OIDC are the formats an IdP and an application use to talk to each other, so they describe how the identity is sent, not who sends it. The service provider or relying party, such as a content platform, is the application on the receiving end that trusts the IdP's assertion and grants access.
OAuth 2.0 is about authorization, meaning delegated access to APIs, such as letting one app read data from another on a user's behalf. OAuth 2.0 alone does not tell an application who the user is. OpenID Connect adds that identity layer on top of OAuth 2.0, which is why OIDC, not plain OAuth, is the protocol used for login.
Discover More with Sanity
Now that you've learned about identity provider, why not start exploring what Sanity has to offer? Dive into our platform and see how it can support your content needs.
Last updated: