Skip to Content
Xeonr Developer Docs

Get redirect URLs

POST
/uplim.api.v1.AuthService/GetRedirectUrls

Gets the OAuth authorization URLs for initiating the login flow.

Authorization

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

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.AuthService/GetRedirectUrls" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "urls": "map[discord:https://auth.xeonr.io/oauth2/authorize?client_id=upl-im&connection=discord&response_type=code&state=3f2a9c1e-6b4d-4e8f-a2c7-9d0b1e3f5a68 github:https://auth.xeonr.io/oauth2/authorize?client_id=upl-im&connection=github&response_type=code&state=3f2a9c1e-6b4d-4e8f-a2c7-9d0b1e3f5a68]"
}