OAuth

Get OAuth client

Changed on

Get OAuth client details tied to an api

get/tyk/oauth/clients/{apiID}/{keyName}

Request

  • Base URL
    https://localhost:8080
  • URL
    https://localhost:8080/tyk/oauth/clients/{apiID}/{keyName}
  • Auth
    API key in header X-Tyk-Authorization

Path parameters

apiIDstring required

The API id

keyNamestring required

The Client ID

Response

OAuth client details

api_idstring
client_idstring
descriptionstring
meta_dataobject nullable
policy_idstring
redirect_uristring
secretstring

Example response

{
  "api_id": "keyless",
  "client_id": "2a06b398c17f46908de3dffcb71ef87b",
  "description": "google client login",
  "redirect_uri": "https://httpbin.org/ip",
  "secret": "MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0"
}

Changes

    • breaking

      the response property became nullable for the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      for the path request parameter apiID, the min was set to 1.00

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status