API SpecificationAuthorisations
List Authorisations
Returns a list of all OAuth applications that the current user has authorised, including the scopes granted and last used timestamps.
Required scopes: oauth:client-authorisations:read
AuthorizationBearer <token>
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
clientId?string
Optional filter by client ID
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.AuthorisationsService/ListAuthorisations" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"authorisations": [
{
"authorisationId": "auth_a1b2c3d4e5f6g7h8",
"Client": {
"clientId": "550e8400-e29b-41d4-a716-446655440000",
"name": "My OAuth App",
"websiteUrl": "https://myapp.example.com",
"logoUrl": "https://cdn.example.com/logos/myapp.png",
"description": "A sample OAuth application for demonstration purposes",
"isVerified": "true",
"createdAt": "2023-01-15T01:30:15.01Z",
"applicationBindings": [
{
"applicationId": "app_prod_myapp",
"config": {
"jsonConfig": {
"property1": {},
"property2": {}
}
}
}
]
},
"scopes": [
"email",
"profile",
"openid"
],
"createdAt": "2023-01-15T01:30:15.01Z",
"lastUsedAt": "2023-01-15T01:30:15.01Z"
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}