Xeonr Developer Docs
API SpecificationAuthentication

Get Redirect URLs

POST
/xeonr.auth.api.v1.AuthService/GetRedirectUrls

Returns the OAuth redirect URLs configured for an application, used to initiate the authentication flow. No authentication required.

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 in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

applicationSlug?string

Optional application slug to filter redirect URLs

Length1 <= length <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.AuthService/GetRedirectUrls" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "urls": "map[discord:https://auth.xeonr.io/oauth/discord github:https://auth.xeonr.io/oauth/github]"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}