This page walks through OAuth 2.0 Client Credentials against Okta — the flow for headless agents, CI/regression jobs, and service-to-service calls with zero human authentication anywhere in the chain. Edit the fields on the left, then run each step on the right in order.
Proves the endpoint is actually protected before we do anything else.
Backend does POST https://{Okta Domain}/oauth2/{AS ID}/v1/token with
grant_type=client_credentials and scope=..., authenticated with Basic auth
(Client ID:Secret, Base64-encoded). No browser, no login page, no human — this call is entirely
agent-to-Okta. The response's scp, aud, and sub claims below
confirm the client — not a person — is the identity in the token.
Same call as step 1, now carrying Authorization: Bearer <token>. The resource validates it independently and, if valid, executes the action.