API SpecificationAuthentication
Get authorization URL
Gets the OAuth authorization URL for initiating the login flow.
Authorization
BearerAuth AuthorizationBearer <token>
An access token issued by the xeonr identity provider.
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://xmb.gg/xmb.api.v1.AuthService/GetAuthorizationUrl" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"url": "https://auth.xeonr.io/oauth/authorize?client_id=xmb&redirect_uri=https%3A%2F%2Fxmb.gg%2Fauth%2Fcallback&response_type=code&scope=xmb%3Auser%3Aread+xmb%3Auser%3Awrite&state=3f6c1a2e-8b4d-4e7f-9a1c-5d2e8f0b4c71",
"state": "3f6c1a2e-8b4d-4e7f-9a1c-5d2e8f0b4c71"
}