Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Client Type

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Authentication, Authorisation & Trust

Client type is the OAuth 2.0 classification of an application as confidential or public, based on whether it can keep its client credentials secret. Confidential clients, such as server-side apps, can authenticate to the authorisation server. Public clients, such as mobile or browser apps, cannot, so they should use PKCE and never embed a client secret.

What Client Type Means in OAuth 2.0

Client type is a deployment and trust classification, not a user-facing product label. It tells the authorization server whether the application can safely hold credentials on its own, which is why the distinction between confidential and public clients determines whether the app may authenticate directly or must use proof mechanisms designed for exposed environments.

The practical value of the classification is that it sets the security baseline before any token request is made. A confidential client can protect a secret or other stronger credential because it runs in a controlled backend environment. A public client cannot make that guarantee, so treating it as if it could keep a secret would create a false sense of security and weaken the whole OAuth design.

Confidential Clients and Public Clients

Confidential clients are usually server-side web apps, backend services, or other software that can keep credentials out of the browser, device, or end user’s control. Because they can authenticate to the authorization server, they can be granted client authentication methods that depend on secret material or stronger cryptographic proof. That said, the security promise is environmental, not absolute: if the backend leaks its credential store or configuration, the client stops being effectively confidential.

Public clients include mobile apps, single-page apps, desktop apps, and browser-based applications that run in places the operator does not fully control. For those clients, the important point is not that they are “less secure” by definition, but that they must be treated as unable to preserve a client secret. In practice, that means the authorization flow must be chosen so the app can still be bound to the request without embedding a reusable secret in distributed code.

Why the Distinction Matters for OAuth Security

The client type classification directly shapes the authorization server’s trust decision. If a public client were allowed to present a shared secret like a confidential client, anyone who extracted the app bundle, inspected network traffic, or decompiled the binary could impersonate the application. That would collapse the distinction between the legitimate client and an attacker running a copy of it.

For that reason, the classification also affects how token endpoints, grant types, and proof-of-possession style protections are used. Modern OAuth guidance increasingly assumes public clients will rely on proof mechanisms rather than embedded secrets, while confidential clients can use stronger client authentication when the deployment can genuinely protect the credential.

For the underlying protocol model, see the core OAuth specification in RFC 6749: The OAuth 2.0 Authorization Framework, which defines the client role that this classification refines.

Common Implementation Patterns and Edge Cases

The clearest mistake is assuming that “installed on a server” automatically means confidential, or that “installed on a device” always means public. What matters is whether the deployment can reliably protect the credential material used to authenticate the client. A browser app is public even if it talks to a backend. A backend component is confidential only if the credential is actually kept off the client-side surface and is managed as protected secret material.

Another edge case is migration between client authentication methods. Some teams start with a shared client secret and later move to asymmetric authentication because the secret has become too easy to expose, rotate poorly, or spread across environments. That transition is often a sign that the application was always operating closer to a public trust model than the original architecture assumed.

When you need a stronger client-authentication model for a confidential client, JWT Client Authentication (private_key_jwt) Guide explains how signed assertions can replace shared secrets, while OAuth invalid_client and unauthorized_client Troubleshooting Guide helps diagnose the failures that often surface when client type, grant type, and authentication method do not line up.

Risk and Threat Considerations

Client type mistakes matter because they turn an authorization design into a secret-management problem. If a public client is treated as confidential, the embedded secret can be copied and reused, allowing impostors to mint tokens as if they were the real application. The same failure pattern also creates operational exposure when one leaked secret is reused across multiple environments or app variants.

Failure mechanism: The attacker extracts the client credential from exposed code, configuration, or runtime storage, then presents it to the authorization server as if it were the legitimate application.

Impact: Token issuance can be abused, application impersonation becomes possible, and downstream authorization decisions may be made against a forged client identity.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-63, NIST SP 800-53 Rev 5, OWASP ASVS and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-63Digital Identity GuidelinesOAuth client type affects how an app proves itself to the authorization server.
Recommendation — Apply phishing-resistant, proof-based client authentication where a secret cannot be safely protected.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementClient secrets and assertions are authenticators that must be protected and rotated.
Recommendation — Manage client credentials as authenticators with controlled issuance, storage, rotation, and revocation.
OWASP ASVSV10 — OAuth and OIDCOAuth client classification determines how the application authenticates and which flow it may use.
Recommendation — Validate that each client uses an OAuth flow and authentication method appropriate to its trust model.
CIS Controls v8CIS-6 — Access Control ManagementClient type governs which application identities may receive and use protected access paths.
Recommendation — Restrict application access paths so public clients cannot rely on reusable secrets.

Practitioner Guidance

Why practitioners should care: Client type should be treated as a deployment-security decision, not a box to tick during OAuth setup. The classification determines whether secret-based client authentication is defensible or whether the design must assume that any embedded secret will be recoverable.

Practitioner takeaway: If the application cannot reliably hide a credential from its runtime environment, classify it as public and design the flow accordingly rather than trying to force confidential-client behaviour onto it.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org