Aug 11, 2025

OAuth client credentials

Young-jin Park

Software Engineer

The Stainless generator now automatically retrieves, manages, and refreshes access_tokens for APIs using OAuth client credentials.

const client = new Client({
  clientId: '…',
  clientSecret: '…',
})

client.todos.create()