Get Public Client
Retrieves public details of an OAuth client for displaying on the consent screen, including requested scopes and user permissions.
Required scopes: auth:oauth
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
Define the timeout, in ms
Request Body
application/json
Unique identifier for the OAuth Client
uuidPAR request URI (if using Pushed Authorization Requests)
RFC 8707 resource indicator from the authorization request. Ignored when request_uri is set (the pushed request's resource wins). Used only to tell the consent screen whether to show the MCP connection picker.
length <= 1024The authorization request's required_scope parameter (AUTH-435): scopes the client cannot work without, so the consent screen does not offer to untick them. Ignored when request_uri is set (the pushed request's wins). openid is always required when requested.
items <= 100Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.OAuthService/GetPublicClient" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -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": {}
}
},
"iacManaged": true,
"approved": true,
"mode": "CLIENT_APPLICATION_BINDING_MODE_UNSPECIFIED",
"requestedScopes": [
"string"
],
"approvedScopes": [
"string"
],
"state": "APPLICATION_BINDING_STATE_UNSPECIFIED",
"decisionPending": true,
"decidedAt": "2023-01-15T01:30:15.01Z",
"autoApprovedScopes": [
"string"
],
"callerExchange": true
}
],
"brandProfile": {
"name": "Acme",
"logoUrl": "string",
"primaryColor": "#4F46E5",
"gradientColors": [
"string"
],
"bgImageDarkUrl": "string",
"bgImageLightUrl": "string",
"headline": "string",
"subtitle": "string"
}
},
"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,
"required": true
}
],
"hasPermission": true,
"authorizationDetails": [
{
"type": "uploads:bucket",
"applicationId": "550e8400-e29b-41d4-a716-446655440000",
"title": "My Photos Bucket",
"description": "Contains 234 photos",
"approved": true,
"raw": {
"property1": {},
"property2": {}
}
}
],
"missingApplications": [
{
"name": "Trellis",
"slug": "trellis",
"clientApplication": true,
"canRequestAccess": true,
"accessRequestState": "ACCESS_REQUEST_STATE_UNSPECIFIED"
}
],
"mcpConnection": true,
"mcpRequestedRecord": {
"teams": [
"string"
],
"allTeams": true,
"products": {
"property1": {
"toolsets": [
"string"
],
"teams": [
"string"
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
},
"property2": {
"toolsets": [
"string"
],
"teams": [
"string"
],
"resources": [
{
"type": "string",
"identifier": "string",
"actions": [
"string"
]
}
]
}
},
"allProducts": true,
"allToolsets": true,
"defaultToolsets": [
"string"
]
},
"limitableResourceTypes": [
{
"type": "forge:repository",
"application": {
"applicationId": "app_prod_myapp",
"name": "My Application",
"slug": "my-application",
"websiteUrl": "app.example.com",
"enabledIdps": [
"github",
"discord"
]
},
"parents": [
"string"
],
"actions": [
"string"
]
}
]
}Complete OAuth Flow POST
Completes the OAuth authorisation flow after user consent, generating an authorisation code and returning the redirect URL. **Required scopes:** `auth:oauth`
Get Pushed Request Hints POST
Returns a pushed authorization request's prompt, max_age, login_hint and acr_values (RFC 9126). **Authentication:** None required