Skip to Content
Xeonr Developer Docs
API SpecificationPRIVATEOAuth Provider

Request Application Access

POST
/xeonr.auth.private.v1.OAuthService/RequestApplicationAccess

Records the signed-in user's request for a direct enrollment in an application they cannot use, and notifies the application's owners. Offered for applications whose sign-in mode is team members or invite only; refused for one open to everyone (nothing to ask for) and for the auth application. Approving creates the enrollment; a rejection stays visible to the requester, who may ask again.

Required scopes: auth:oauth

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

applicationSlug?string

Slug of the application within the organisation.

Length1 <= length <= 64
message?string

Optional note to the owners.

Lengthlength <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.OAuthService/RequestApplicationAccess" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "state": "ACCESS_REQUEST_STATE_UNSPECIFIED"
}