Skip to main content
POST
auth.oauth.app.set

Authorizations

Authorization
string
header
required

A Lath API key: lath_live_sk… or lath_test_sk… on a server, lath_live_pk… or lath_test_pk… in a browser.

Headers

Idempotency-Key
string

Replays the stored response for the same key and input; refuses different input.

Body

application/json
provider
enum<string>
required
Available options:
google,
microsoft,
github
mode
enum<string>
required

Which rung this app is registered for; its redirect URI must match that rung's callback

Available options:
live,
test
clientId
string
required
Required string length: 1 - 500
clientSecret
string
required
Required string length: 1 - 500

Response

{ activityId, result }. activityId is empty for reads.

activityId
string
required

The activity this call created, or empty for a read.

result
object
required
Last modified on September 13, 2026