OAuth Clients

Create and configure OAuth clients in Authority.

Overview

OAuth clients represent applications that can request access tokens. Each client has:

  • Client ID - Public identifier

  • Client Secret - Confidential key (for confidential clients)

  • Redirect URIs - Allowed callback URLs

  • Scopes - Permitted access levels

Client Types

Type
Description
Use Case

Confidential

Can securely store secrets

Server-side apps

Public

Cannot store secrets

Mobile apps, SPAs

Admin Dashboard

Create Client

  1. Navigate to Admin DashboardOAuth Clients

  2. Click New Client

  3. Fill in the form:

Field
Description

Name

Display name for the client

Type

Confidential or Public

Redirect URIs

Callback URLs (one per line)

Scopes

Allowed scopes

Grant Types

Enabled OAuth flows

  1. Click Create

OAuth Clients

Client Credentials

After creation, you'll receive:

  • Client ID: abc123def456...

  • Client Secret: xyz789ghi012... (save this - shown only once)

circle-exclamation

API Registration

Create Client via API

Response:

Get Client Details

Update Client

Delete Client

Redirect URI Configuration

Best Practices

Do
Don't

Use exact URLs

Use wildcards

Use HTTPS in production

Use HTTP in production

Register all environments

Use localhost in production

Valid Examples

Invalid Examples

Grant Types

Configure which OAuth flows the client can use:

Grant Type
Value
Use Case

Authorization Code

authorization_code

Web apps

PKCE

authorization_code

Mobile/SPA

Client Credentials

client_credentials

Service-to-service

Refresh Token

refresh_token

Token renewal

Device Code

urn:ietf:params:oauth:grant-type:device_code

IoT/CLI

Authentication Methods

Method
Description

client_secret_basic

HTTP Basic auth

client_secret_post

Secret in body

none

Public client (no secret)

Scopes

Assign allowed scopes:

Clients can only request scopes they're allowed to use.

Client Metadata

Store additional client information:

Testing Your Client

After registration, test the authorization flow:

Next Steps

Last updated

Was this helpful?