Get Public Client
Retrieves public details of an OAuth client for displaying on the consent screen, including requested scopes and user permissions.
Required scopes: private
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Unique identifier for the OAuth Client
uuidResponse Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.OAuthService/GetPublicClient" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"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": [
{
"name": "email",
"description": "Access to your email address",
"isSensitive": true,
"application": {
"applicationId": "app_prod_myapp",
"name": "My Application",
"slug": "my-application",
"websiteUrl": "app.example.com",
"enabledIdps": [
"github",
"discord"
]
},
"isDelegatable": true
}
],
"hasPermission": true
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Complete OAuth Flow POST
Completes the OAuth authorisation flow after user consent, generating an authorisation code and returning the redirect URL. **Required scopes:** `private`
Lookup OAuth Code POST
Looks up details of an OAuth authorisation code for the device code flow, returning client and scope information. **Required scopes:** `private`