Relying party (RP): how a service uses a login result
An RP receives or verifies an authentication result, links it to a local account, and decides what the account may access.
Relying party (RP): how a service uses a login result
A relying party (RP) is the website, app, or organization providing the service a person wants to use. An authentication assertion is a message carrying information about an authenticated subject from a verifier or identity provider (IdP) to the RP. The RP may also perform the verifier function; in federation it instead validates an assertion from another party and connects the result to its own account and access rules. NIST describes RPs as services that rely on a verifier assertion and, in federation, obtain subscriber-account information through IdP assertions.
The RP operates the service and its accounts, chooses whether to authenticate users itself or use federation, validates results, links the verified subject to the correct account, and decides whether to create a session or allow a transaction. Authentication answers whether an authenticator or identity result passed a defined check; authorization separately decides what that account is allowed to do. A successful login therefore does not grant every permission.
In direct authentication, the RP commonly also verifies the userʼs authenticator. For example, a WebAuthn service stores the registered public key with its account and verifies the signed login response. In federated login, an IdP authenticates the user and sends the RP a protocol-defined assertion. The RP must not trust an arbitrary success page or browser value: it checks the configured issuer, the intended audience (the service meant to receive the assertion), signature or integrity, expiry, and any request-correlation rules required by the protocol. The roles of claimant, authenticator, verifier, IdP, and RP describe responsibilities; one organization or system can perform several of them.
For a hypothetical portal.example using an external IdP: the user starts sign-in at the portal; the portal redirects to its configured IdP; after authentication, the protocol returns an assertion; the portal validates it, maps the issuer-scoped subject identifier to the right portal account, creates its own session, then applies its own permissions. A valid assertion does not by itself mean the account exists or has access to every resource.
Before relying on a result, confirm the trusted issuer, audience, expiry, integrity and replay protections; decide how identifiers survive changes such as an email-address change; require an already authenticated session or another approved check before linking a new IdP or passkey to an existing account; request only needed attributes; define account recovery and session handling when an IdP or credential is closed or lost; and keep failure messages and logs from exposing unnecessary account details. An RP is not necessarily a password store, an IdP success is not unconditional approval, and an RP is not the same as a WebAuthn RP ID, which is a domain string that scopes credentials. Exact validation rules depend on OIDC, SAML, WebAuthn, or the protocol actually deployed.
Sources
[NIST SP 800-63-4, Digital Identity Guidelines](https://pages.nist.gov/800-63-4/sp800-63.html)
[W3C Web Authentication Level 3](https://www.w3.org/TR/webauthn-3/)