Skip to main content
POST
/
api
/
auth
/
oauth
/
configs
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "provider": "google",
  "clientId": "<string>",
  "redirectUri": "<string>",
  "scopes": [
    "<string>"
  ],
  "useSharedKey": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

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,
microsoft
clientId
string
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,
microsoft
clientId
string | null
redirectUri
string | null
scopes
string[] | null
useSharedKey
boolean
createdAt
string<date-time>
updatedAt
string<date-time>