Skip to main content
POST
Create OAuth configuration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
enum<string>
required
Available options:
google,
github,
discord,
linkedin,
facebook,
instagram,
tiktok,
apple,
x,
spotify,
microsoft
clientId
string
nativeClientIds
string[]

Server-trusted native app client IDs used as ID-token audiences

Maximum array length: 20
Required string length: 1 - 255
clientSecret
string
redirectUri
string
scopes
string[]
useSharedKey
boolean

Response

OAuth configuration created

id
string<uuid>
provider
enum<string>
Available options:
google,
github,
discord,
linkedin,
facebook,
instagram,
tiktok,
apple,
x,
spotify,
microsoft
clientId
string | null
nativeClientIds
string[]

Server-trusted native app client IDs used as ID-token audiences

Maximum array length: 20
Required string length: 1 - 255
redirectUri
string | null
scopes
string[] | null
useSharedKey
boolean
createdAt
string<date-time>
updatedAt
string<date-time>