Public identity of an OAuth client, for the consent screen
GET
/oauth/client/{clientId}Path parameters
clientIdstringrequiredQuery parameters
widget_originstringOrigin asking to receive this client's authorization code. Only the widget callback sends it; the consent screen omits it.
Responses
200Successful response
successbooleanrequiredWhether the request was successful
errorCodestringrequiredThe error code returned by the request
Allowed:
not_foundbad_requestalready_existsunauthorizedforbiddeninternal_server_errorservice_unavailabletimeoutconflictprecondition_failedunprocessable_entitymessagestringrequiredThe message returned by the request
dataOAuthClientPublicObjectShow propertiesHide properties
clientIdstringrequirednamestringrequireddescriptionstringlogoUrlstringPublic URL of the client's uploaded logo, when it has one
widgetOriginAllowedbooleanWhether the origin passed as widget_origin may receive this client's authorization code. A verdict rather than the registered list, because entries may be wildcards and matching them is not something two separate builds should each implement.
Try it
Server
Parameters
Request
curl -X GET "https://api.insy.io/oauth/client/string"const response = await fetch("https://api.insy.io/oauth/client/string", {
method: "GET"
});import requests
response = requests.get(
"https://api.insy.io/oauth/client/string",
)Response
{
"success": true,
"errorCode": "not_found",
"message": "Success",
"data": {
"clientId": "string",
"name": "string",
"description": "string",
"logoUrl": "string",
"widgetOriginAllowed": true
}
}