Client Credentials (M2M)

OAuth 2.0 Client Credentials Grant for Machine-to-Machine Authentication

Configuration
Client Credentials Flow
1
SERVICE APP

Authenticate with Client Credentials

Authenticate the application using its client credentials (client_id and client_secret). No user involvement is required — the application authenticates with its own identity.

/oauth2/default/v1/token grant_type=client_credentials
Configuration
/oauth2/default/v1/
Configure Okta Domain and Authorization Server to load scopes
cURL Command

          
        
2
SERVICE APP Optional

Test Token with API

Test the access token by making an authenticated API request to a resource server.

cURL Command