Join our Newsletter — 33% off our NHI Course
Home› Guides› OAuth Client Registration Checklist: Redirect URIs, Grants, Secrets…
Template Authorisation

OAuth Client Registration Checklist: Redirect URIs, Grants, Secrets and Scopes

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 14 November 2026 15 min read
On this page

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

RefCheckLevelEvidence
1.1The client has a named business owner and a named technical owner (people, not mailboxes), plus a team contact.RequiredOwner fields in the registry
1.2The request states the purpose, the APIs or data it will reach, and whether it acts for a signed-in user, for itself, or both.RequiredRequest form
1.3The client is recorded in the application or NHI inventory with an environment tag (production, test, development).RequiredInventory entry ID
1.4Production and non-production clients are separate registrations. A test client never holds production scopes.RequiredRegistry review
1.5Third-party or vendor clients have a completed supplier assessment and a contract that covers token handling.Required for third partiesTPRM record
1.6A review or expiry date is set for the registration itself, [12 months] by default.RecommendedRegistry 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 typeTypical platformCan hold a secret?Registration consequence
Confidential web applicationServer-side app, backend for frontendYesAuthorisation code with PKCE; asymmetric client authentication preferred
Public browser applicationSingle-page app running only in the browserNoAuthorisation code with PKCE, no secret; consider a backend for frontend instead
Public native applicationMobile or desktop appNoAuthorisation code with PKCE, external browser, native redirect URI types
Service or daemonBackend job, integration, workloadYesClient credentials only, no redirect URIs; prefer workload identity or asymmetric keys
Device or limited-input clientTV, CLI, IoTUsually noDevice authorisation grant; treat as public
RefCheckLevel
2.1The client type matches where the code runs. Anything shipped to users' devices or browsers is registered as public.Required
2.2A 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.3One registration per application and environment. A single client ID is not shared across unrelated apps or tenants.Required
2.4A 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

RefCheckLevel
3.1Every 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.2Redirect URIs use https. Plain http is accepted only for native app loopback redirects (RFC 9700 section 2.6).Required
3.3Native 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.4Each 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.5The 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.6No development or test URIs (localhost web ports, preview environments, personal domains) on a production registration.Required
3.7The list is as short as possible. Every URI has a stated use; unused URIs are removed at each review.Recommended
3.8Where 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 typeStatus in current guidanceRegistration 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_credentialsStandard for app-only accessService clients only; never combined with redirect URIs it does not need
refresh_tokenPublic 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_codeDevice 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 grantsSpecialisedException review with a named use case
RefCheckLevel
4.1Only the grant types the client will actually use are enabled. Defaults ticked by the console are cleared.Required
4.2PKCE is required for this client at the server, with the S256 method, not merely supported.Required
4.3Implicit and password grants are disabled, including "allow implicit" or "issue tokens from the authorisation endpoint" settings.Required
4.4Clients 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.5High-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)CredentialUse when
private_key_jwtAsymmetric key pair; public key registered via jwks or jwks_uriDefault for confidential clients where supported; RFC 9700 section 2.5 recommends asymmetric methods
tls_client_authX.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_authSelf-signed certificate registered by key (RFC 8705 section 2.2)Mutual TLS without a PKI
client_secret_basic or client_secret_postShared secretOnly where the server or client cannot do asymmetric methods; exception with expiry
client_secret_jwtShared secret used as an HMAC keyRarely better than private_key_jwt; same secret-handling risks
noneNo credentialPublic clients only, always with PKCE
RefCheckLevel
5.1Confidential clients use an asymmetric method (private_key_jwt or mutual TLS) unless an exception is approved.Recommended; Required for [high-risk tier]
5.2Where 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.3Shared 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.4Every 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.5Private 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.6No more than [two] active credentials per client, so rotation does not leave forgotten secrets behind.Required
5.7Credentials 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

RefCheckLevel
6.1Each requested scope or permission is justified against a feature. Write, admin and tenant-wide scopes need a named reason.Required
6.2Delegated 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.3Tokens 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.4The client is allowed only the scopes registered for it; the server rejects requests for others rather than silently granting them.Required
6.5offline_access or equivalent refresh token scopes are granted only when the app needs to act while the user is away.Required
6.6Who 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

RefCheckSuggested value
7.1Access token lifetime is set for this client rather than left at a long platform default.[5 to 60 minutes]
7.2Refresh tokens for public clients rotate on each use, with reuse detection, or are sender-constrained.Rotation on; reuse revokes the token family
7.3Refresh tokens have an absolute lifetime and an idle timeout.[30 to 90 days] absolute, [7 to 14 days] idle
7.4Sender-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.5ID 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.

RefCheckLevel
8.1client_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.2The display name cannot be confused with a platform or internal tool name (for example "Admin", "Security Update", "IT Support").Required
8.3Publisher verification or an equivalent verified publisher status is completed where the platform offers it, for apps used outside [Organisation].Recommended
8.4contacts lists a monitored security contact for abuse and incident reports.Required

9. Dynamically registered and externally managed clients

RefCheckLevel
9.1Open dynamic registration is disabled unless the use case requires it; registration requires an initial access token or a signed software_statement.Required
9.2A 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.3Dynamically registered clients carry a software_id and expire if unused for [30 days]; client_secret_expires_at is non-zero.Recommended
9.4The 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

RefCheckLevel
10.1Registration changes (new redirect URI, grant, scope, credential, owner) are logged and alert [IAM team] for production clients.Required
10.2Token issuance and failed client authentication for the client are logged and retained for [12 months].Required
10.3A 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.4A revocation runbook exists: disable the client, revoke its credentials and outstanding refresh tokens, and confirm with token introspection.Required
10.5Clients 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].

FieldEntry
Client ID and name[ ]
Environment and risk tier[ ]
Items failed or excepted[ ]
Reviewer and date[ ]
Approver and date[ ]
Next review date[ ]

Implementation guidance

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

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

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.