Skip to main content
POST
Python (SDK)

Authorizations

__Secure-mka1-auth-v2.session_token
string
cookie
required

Current Better Auth browser or device-login session

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json
providerId
string
required
Pattern: ^[a-zA-Z0-9_-]{1,40}$
enabled
boolean
required
groupsClaim
string
required
Required string length: 1 - 256
mappings
object[]
required
Maximum array length: 100

Response

OK

providerId
string
required
Pattern: ^[a-zA-Z0-9_-]{1,40}$
enabled
boolean
required
groupsClaim
string
required
Required string length: 1 - 256
mappings
object[]
required
Maximum array length: 100