Skip to main content
GET
/
oauth2
/
clients
/
{clientId}
Get an OAuth client by Client ID
curl --request GET \
  --url https://api.provident.ae/v2/oauth2/clients/{clientId} \
  --header 'Authorization: Bearer <token>'
{
"id": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"name": "<string>",
"redirectUris": [
"<string>"
],
"allowedScopes": [
"<string>"
],
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"tokenLifetimeSeconds": 123,
"rateLimitCount": 123,
"rateLimitWindowSeconds": 123,
"ip_restriction": true,
"allowedIps": [
"<string>"
]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required

Response

id
string
required
clientId
string
required
clientSecret
string
required
name
string
required
redirectUris
string[]
required
allowedScopes
string[]
required
isActive
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
tokenLifetimeSeconds
number
required

Token lifetime in seconds

rateLimitCount
number
required

Maximum requests allowed per window. 0 means unlimited.

rateLimitWindowSeconds
number
required

Rate limit window size in seconds

ip_restriction
boolean
required

Whether IP restriction is enabled

allowedIps
string[]
required

List of allowed IPs/CIDRs