oauth2

Create OAuth client

post/oauth2/admin/clients

Request

  • Base URL: https://api.leisurevans.com
  • URL: https://api.leisurevans.com/oauth2/admin/clients
  • Auth: none declared

Request body

namestring required
kind'first_party' | 'third_party'
ownerstring
descriptionstring
redirectUrisstring[] required
postLogoutRedirectUrisstring[]

Response

OAuth client creation response.

successboolean required
messagestring required

Example response

{
  "success": true,
  "message": "Client created successfully",
  "data": {
    "id": "11a5f6ad-f046-4f07-a741-9afb62f8695c",
    "clientId": "ltv-web-client",
    "name": "MyLTV Web App",
    "kind": "first_party",
    "owner": "ltv-website-next",
    "description": "Primary web OAuth client.",
    "redirectUris": [
      "https://myltv.cloud/oauth/callback"
    ],
    "postLogoutRedirectUris": [
      "https://myltv.cloud/log-in"
    ],
    "isOidc": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.