Most OAuth weaknesses are created in the few minutes it takes to register a client: a wildcard redirect URI, a legacy grant left ticked, a shared secret that never expires, or a scope list copied from another app. This checklist is the review an identity or platform team runs before approving any new OAuth 2.0 or OpenID Connect client, and again when a client is changed or renewed. It covers client type, redirect URIs, grant and response types, client authentication and credential lifecycle, scopes and audience, token settings, consent and display metadata, ownership, and decommissioning. It applies whether clients are registered by hand in an authorisation server console, through infrastructure as code, or through dynamic registration. It is written for IAM engineers, application security reviewers and the developers who request clients. For the threats behind each item, see the Top 10 OAuth Security Risks; for self-service registration endpoints, see the OAuth Dynamic Client Registration Security Guide.
How to use this template
- Replace placeholders: text in square brackets, such as [Organisation], [IAM team] and [90 days], is yours to set. Bracketed values are suggested defaults, not requirements from the standards.
- Read the requirement levels: "Required" items reflect a MUST or MUST NOT in the cited RFC or a control [Organisation] treats as mandatory. "Recommended" items reflect a SHOULD or good practice. A requested exception to a Required item goes to section 11.
- Attach it to the request: the requester completes the "Requester answer" column in a copy of sections 1 to 10; the reviewer marks each item Pass, Fail or Exception.
- Use it for changes too: adding a redirect URI, a grant type, a scope or a new credential is a change and needs sections 3 to 6 again.
- Encode it: where your authorisation server supports registration policies or infrastructure as code, turn the Required items into automated checks so manual review handles only exceptions.
1. Request and ownership
| Ref | Check | Level | Evidence |
|---|---|---|---|
| 1.1 | The client has a named business owner and a named technical owner (people, not mailboxes), plus a team contact. | Required | Owner fields in the registry |
| 1.2 | The request states the purpose, the APIs or data it will reach, and whether it acts for a signed-in user, for itself, or both. | Required | Request form |
| 1.3 | The client is recorded in the application or NHI inventory with an environment tag (production, test, development). | Required | Inventory entry ID |
| 1.4 | Production and non-production clients are separate registrations. A test client never holds production scopes. | Required | Registry review |
| 1.5 | Third-party or vendor clients have a completed supplier assessment and a contract that covers token handling. | Required for third parties | TPRM record |
| 1.6 | A review or expiry date is set for the registration itself, [12 months] by default. | Recommended | Registry field |
Unowned test registrations are a recurring root cause. In the Microsoft Midnight Blizzard breach, attackers found a legacy test OAuth application with elevated access to the corporate environment and used it to grant themselves mailbox access. Items 1.3, 1.4 and 1.6 exist to stop that kind of registration from outliving its purpose.
2. Client type and platform
| Client type | Typical platform | Can hold a secret? | Registration consequence |
|---|---|---|---|
| Confidential web application | Server-side app, backend for frontend | Yes | Authorisation code with PKCE; asymmetric client authentication preferred |
| Public browser application | Single-page app running only in the browser | No | Authorisation code with PKCE, no secret; consider a backend for frontend instead |
| Public native application | Mobile or desktop app | No | Authorisation code with PKCE, external browser, native redirect URI types |
| Service or daemon | Backend job, integration, workload | Yes | Client credentials only, no redirect URIs; prefer workload identity or asymmetric keys |
| Device or limited-input client | TV, CLI, IoT | Usually no | Device authorisation grant; treat as public |
| Ref | Check | Level |
|---|---|---|
| 2.1 | The client type matches where the code runs. Anything shipped to users' devices or browsers is registered as public. | Required |
| 2.2 | A native app is not issued a secret as proof of identity. RFC 8252 section 8.5 says a secret embedded in a widely distributed app cannot be kept confidential, and a server that requires one must still treat the client as public. | Required |
| 2.3 | One registration per application and environment. A single client ID is not shared across unrelated apps or tenants. | Required |
| 2.4 | A client that needs both user-delegated and app-only access is split into two registrations, or the reason for combining them is recorded. | Recommended |
See the OAuth for Native and Mobile Apps Guide and the OAuth for Browser-Based Applications and the BFF Pattern Guide.
3. Redirect URIs
| Ref | Check | Level |
|---|---|---|
| 3.1 | Every redirect URI is a full, absolute URI registered in advance. No wildcards in host, path or query. RFC 9700 section 2.1 requires exact string matching, with the only exception being the port of a localhost redirect URI for native apps. | Required |
| 3.2 | Redirect URIs use https. Plain http is accepted only for native app loopback redirects (RFC 9700 section 2.6). | Required |
| 3.3 | Native apps use one of the RFC 8252 section 7 types: a claimed https URI (preferred), a private-use scheme in reverse domain form such as com.example.app:/oauth2redirect, or a loopback IP literal (127.0.0.1 or [::1]) with any port. Short schemes such as myapp: are rejected. Loopback by IP literal is preferred over the name localhost (RFC 8252 section 8.3). | Required |
| 3.4 | Each redirect host is owned and controlled by [Organisation] or the named third party. No shared hosting domains, URL shorteners or domains due to lapse. | Required |
| 3.5 | The page at each redirect URI is not an open redirector and does not load third-party scripts that could read the authorisation code from the URL (RFC 9700 section 4.11). | Required |
| 3.6 | No development or test URIs (localhost web ports, preview environments, personal domains) on a production registration. | Required |
| 3.7 | The list is as short as possible. Every URI has a stated use; unused URIs are removed at each review. | Recommended |
| 3.8 | Where the server supports pushed authorisation requests and relaxed redirect handling for authenticated clients (RFC 9126 section 2.4), that option is a recorded exception with a fixed prefix, not a default. | Recommended |
4. Grant types and response types
| Grant or response type | Status in current guidance | Registration decision |
|---|---|---|
| authorization_code with PKCE (S256) | PKCE MUST for public clients, SHOULD for confidential clients (RFC 9700 section 2.1.1) | Default for any client with a user |
| client_credentials | Standard for app-only access | Service clients only; never combined with redirect URIs it does not need |
| refresh_token | Public clients' refresh tokens MUST be sender-constrained or rotated (RFC 9700 section 2.2.2) | Enable only when the app needs offline access |
| urn:ietf:params:oauth:grant-type:device_code | Device authorisation grant (RFC 8628) | Only for limited-input devices; phishing risk noted |
| Implicit (response_type=token) | SHOULD NOT be used (RFC 9700 section 2.1.2) | Reject on new registrations; migrate existing |
| Resource owner password credentials (password) | MUST NOT be used (RFC 9700 section 2.4) | Reject |
| Token exchange, JWT bearer and other extension grants | Specialised | Exception review with a named use case |
| Ref | Check | Level |
|---|---|---|
| 4.1 | Only the grant types the client will actually use are enabled. Defaults ticked by the console are cleared. | Required |
| 4.2 | PKCE is required for this client at the server, with the S256 method, not merely supported. | Required |
| 4.3 | Implicit and password grants are disabled, including "allow implicit" or "issue tokens from the authorisation endpoint" settings. | Required |
| 4.4 | Clients that talk to more than one authorisation server validate the iss parameter in the authorisation response (RFC 9207) to defend against mix-up attacks (RFC 9700 section 4.4). | Required for multi-issuer clients |
| 4.5 | High-risk clients (payments, admin APIs, regulated data) are set to require pushed authorisation requests (require_pushed_authorization_requests, RFC 9126 section 6). | Recommended |
See the OAuth Implicit Flow Migration and the OAuth Pushed Authorization Requests and JAR Guide.
5. Client authentication and credentials
| Method (token_endpoint_auth_method) | Credential | Use when |
|---|---|---|
| private_key_jwt | Asymmetric key pair; public key registered via jwks or jwks_uri | Default for confidential clients where supported; RFC 9700 section 2.5 recommends asymmetric methods |
| tls_client_auth | X.509 certificate from a PKI; one of tls_client_auth_subject_dn or a SAN field registered (RFC 8705 section 2.1) | Workloads with an internal PKI or service mesh; also enables certificate-bound tokens |
| self_signed_tls_client_auth | Self-signed certificate registered by key (RFC 8705 section 2.2) | Mutual TLS without a PKI |
| client_secret_basic or client_secret_post | Shared secret | Only where the server or client cannot do asymmetric methods; exception with expiry |
| client_secret_jwt | Shared secret used as an HMAC key | Rarely better than private_key_jwt; same secret-handling risks |
| none | No credential | Public clients only, always with PKCE |
| Ref | Check | Level |
|---|---|---|
| 5.1 | Confidential clients use an asymmetric method (private_key_jwt or mutual TLS) unless an exception is approved. | Recommended; Required for [high-risk tier] |
| 5.2 | Where a platform-native workload identity or federated credential is available (for example cloud workload identity federation), it is used instead of any stored secret. | Recommended |
| 5.3 | Shared secrets are generated by the server, at least [32 random bytes], shown once, and stored only in [secrets manager]. Never in source code, tickets, chat or CI variables in plain text. | Required |
| 5.4 | Every secret or certificate has an expiry no longer than [180 days for secrets, 12 months for certificates], and a rotation runbook that adds the new credential before removing the old one. | Required |
| 5.5 | Private keys for private_key_jwt are generated in, and where possible kept in, an HSM or key management service; jwks_uri is preferred so keys can rotate without re-registration. | Recommended |
| 5.6 | No more than [two] active credentials per client, so rotation does not leave forgotten secrets behind. | Required |
| 5.7 | Credentials held by a vendor on [Organisation]'s behalf are recorded with the vendor's rotation commitment. | Required for third parties |
See the Machine-to-Machine OAuth (Client Credentials) Guide and the Azure Entra Client Secrets Security Guide.
6. Scopes, permissions and audience
| Ref | Check | Level |
|---|---|---|
| 6.1 | Each requested scope or permission is justified against a feature. Write, admin and tenant-wide scopes need a named reason. | Required |
| 6.2 | Delegated permissions are preferred over application permissions when a user is present. Application permissions that reach all users' data (mail, files, directory write) need [CISO] approval. | Required |
| 6.3 | Tokens are audience-restricted to the resource servers the client calls, using the resource parameter (RFC 8707), aud, or authorization_details (RFC 9396), as RFC 9700 section 2.3 recommends. | Recommended |
| 6.4 | The client is allowed only the scopes registered for it; the server rejects requests for others rather than silently granting them. | Required |
| 6.5 | offline_access or equivalent refresh token scopes are granted only when the app needs to act while the user is away. | Required |
| 6.6 | Who can grant consent is defined: user consent allowed only for [low-risk scopes]; everything else needs admin consent through a review workflow. | Required |
See the OAuth Scope Design Guide and the Consent Phishing and Illicit OAuth Grants Guide.
7. Token settings
| Ref | Check | Suggested value |
|---|---|---|
| 7.1 | Access token lifetime is set for this client rather than left at a long platform default. | [5 to 60 minutes] |
| 7.2 | Refresh tokens for public clients rotate on each use, with reuse detection, or are sender-constrained. | Rotation on; reuse revokes the token family |
| 7.3 | Refresh tokens have an absolute lifetime and an idle timeout. | [30 to 90 days] absolute, [7 to 14 days] idle |
| 7.4 | Sender-constrained tokens (mutual TLS per RFC 8705 or DPoP per RFC 9449) are enabled for high-risk clients, as RFC 9700 section 2.2.1 recommends. | On for [high-risk tier] |
| 7.5 | ID tokens are requested only by clients that need user sign-in, and the client validates issuer, audience, expiry and nonce. | Required |
See the OAuth Refresh Token Rotation and Expiry Guide.
8. Display metadata and consent screen
| Ref | Check | Level |
|---|---|---|
| 8.1 | client_name, logo_uri, client_uri, policy_uri and tos_uri (RFC 7591 section 2) are accurate and point to domains [Organisation] or the vendor controls. | Required for user-facing clients |
| 8.2 | The display name cannot be confused with a platform or internal tool name (for example "Admin", "Security Update", "IT Support"). | Required |
| 8.3 | Publisher verification or an equivalent verified publisher status is completed where the platform offers it, for apps used outside [Organisation]. | Recommended |
| 8.4 | contacts lists a monitored security contact for abuse and incident reports. | Required |
9. Dynamically registered and externally managed clients
| Ref | Check | Level |
|---|---|---|
| 9.1 | Open dynamic registration is disabled unless the use case requires it; registration requires an initial access token or a signed software_statement. | Required |
| 9.2 | A server-side registration policy enforces sections 3 to 7: allowed redirect URI patterns, grant types, token_endpoint_auth_method values and maximum scopes. Metadata the client asks for is not trusted as-is. | Required |
| 9.3 | Dynamically registered clients carry a software_id and expire if unused for [30 days]; client_secret_expires_at is non-zero. | Recommended |
| 9.4 | The registration access token used to manage a client (RFC 7592) is treated as a secret. | Required |
For agent and MCP clients, see also the OAuth Client ID Metadata Documents (CIMD) Guide.
10. Logging, monitoring and decommissioning
| Ref | Check | Level |
|---|---|---|
| 10.1 | Registration changes (new redirect URI, grant, scope, credential, owner) are logged and alert [IAM team] for production clients. | Required |
| 10.2 | Token issuance and failed client authentication for the client are logged and retained for [12 months]. | Required |
| 10.3 | A baseline of normal use (source networks, volumes, scopes) is recorded so the SOC can alert on token use from new locations or sudden bulk API calls (ATT&CK T1550.001 Application Access Token, T1528 Steal Application Access Token). | Recommended |
| 10.4 | A revocation runbook exists: disable the client, revoke its credentials and outstanding refresh tokens, and confirm with token introspection. | Required |
| 10.5 | Clients with no token issuance for [90 days] are flagged; after owner confirmation they are disabled, then deleted after [30 days]. | Required |
See the OAuth Token Introspection and Revocation Guide and the OAuth Token Theft Incident Playbook.
11. Exceptions and sign-off
11.1 Any Fail on a Required item blocks registration unless an exception is approved by [IAM lead] and, for third-party or high-risk clients, [CISO].
11.2 Each exception records the item, the reason, the compensating control and an expiry no later than [6 months].
| Field | Entry |
|---|---|
| Client ID and name | [ ] |
| Environment and risk tier | [ ] |
| Items failed or excepted | [ ] |
| Reviewer and date | [ ] |
| Approver and date | [ ] |
| Next review date | [ ] |
Implementation guidance
- Inventory first: export every client from each authorisation server, with grant types, redirect URIs, credential types and expiry, scopes and owners. Most organisations find implicit grants, wildcard URIs and non-expiring secrets on day one.
- Apply to new clients: make this checklist mandatory for new registrations from [date]. Encode the Required items in registration policy or infrastructure as code where the platform allows.
- Remediate existing clients by risk: start with production clients holding application permissions or admin scopes, then third-party clients, then everything else. Fix in order: remove unused URIs and grants, set credential expiry, move to asymmetric authentication, tighten scopes.
- Test before tightening: enforce PKCE and exact redirect matching per client in a test environment, watch authorisation errors for [two weeks], then switch production. Roll back by restoring the previous registration from version control, not by loosening the server-wide policy.
- Review on a cycle: re-run sections 1, 3, 5 and 6 at each registration review date and whenever ownership changes.
Measures: percentage of clients with a named owner; clients using shared secrets versus asymmetric or federated credentials; secrets with no expiry or older than policy; clients with wildcard or non-https redirect URIs (target zero); clients with implicit or password grants enabled (target zero); and dormant clients disabled within the target window.
Framework mapping: the checklist supports NIST SP 800-53 Rev. 5 IA-5 Authenticator Management, AC-6 Least Privilege and CM-8 System Component Inventory, and NIST CSF 2.0 PR.AA-01 (identities and credentials for authorised users, services and hardware are managed). Read alongside the OAuth 2.0 Security Best Current Practice (RFC 9700) Guide.
Standards and references
- IETF: RFC 9700, Best Current Practice for OAuth 2.0 Security
- IETF: RFC 8252, OAuth 2.0 for Native Apps
- IETF: RFC 7591, OAuth 2.0 Dynamic Client Registration Protocol
- IETF: RFC 8705, OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens
- IETF: RFC 9126, OAuth 2.0 Pushed Authorization Requests
- OpenID Foundation: OpenID Connect Core 1.0
Related NHI Mgmt Group resources: Top 10 OAuth Security Risks · OAuth Dynamic Client Registration Security Guide · OAuth 2.0 and OpenID Connect Guide · SaaS and OAuth App Governance Guide · Azure Entra Client Secrets Security Guide