Skip to main content

Frontend Login

This endpoint is called from League of Traders frontend only. It's not called anywhere else. The user must be logged in to call this endpoint

Returns a short-lived access token for a 3rd-party app. The token encodes the user id and the app id so the consuming app can verify the user identity.

Endpoint

GET /v3/app/auth

Auth

Requires the caller to be an authenticated user (e.g., session/cookie or bearer recognized by the gateway).


Query Parameters

NameTypeRequiredDescription
return_urlstringyesThe post-auth redirect URL. Must be allowed for the target app.
app_idintegeryesThe target application ID.

Responses

200 OK

{
"access_token": "<token>"
}