The final request from an authorising party for a redirect URI during the Tyk OAuth flow

post/tyk/oauth/authorize-client/

Request

  • The document declares no server URL.
  • Auth
    none declared. Required headers: x-tyk-authorization

Headers

x-tyk-authorizationstring string required

tyk gateway shared secret

Request body application/x-www-form-urlencoded

response_typestring string required

Should be provided by requesting client as part of authorisation request, this should be either code or token depending on the methods you have specified for the API

client_idstring string required

Should be provided by requesting client as part of authorisation request. The Client ID that is making the request

redirect_uristring string required

Should be provided by requesting client as part of authorisation request. Must match with the record stored with Tyk

key_rulesstring string required

A string representation of a Session Object (form-encoded). This should be provided by your application in order to apply any quotas or rules to the key

Response

Succesful token response

Changes