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
| Name | Type | Required | Description |
|---|---|---|---|
return_url | string | yes | The post-auth redirect URL. Must be allowed for the target app. |
app_id | integer | yes | The target application ID. |
Responses
200 OK
{
"access_token": "<token>"
}