Sign in

Rotate client secret

documented

Rotates/regenerates the client secret for a dynamic client.

POST /oauth2/v1/clients/{clientId}/client_secretOAuth 2.0no implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$oktaDomain}}/oauth2/v1/clients/{{$clientId}}/lifecycle/newSecret" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
Rotate client secret · Okta · OpenIntegrations