Skip to main content
Aria Compute ROUTER supports OAuth-based authentication and linking to an Aria Compute Serve account. Use the OAuth start endpoint to redirect users to an identity provider, then handle the callback to establish a session. Linked Serve account information can be viewed and updated through dedicated management endpoints.

Start OAuth Flow

Initiate an OAuth authorization request.

Endpoint

Authentication

No authentication required.

Request Body

string
required
Name of the OAuth provider to use.

Response

string
URL to redirect the user to for provider authorization.
string
OAuth state parameter for CSRF protection.

OAuth Callback

Complete the OAuth flow after the user authorizes with the provider.

Endpoint

Authentication

No authentication required. The callback exchanges the authorization code for a session and sets the session cookie.

Query Parameters

string
required
Authorization code returned by the OAuth provider.
string
required
State value returned by the OAuth provider, used to validate the request.

Response

A successful callback sets the session cookie and returns user summary fields.

Serve Account

View or update the Aria Compute Serve account linked to the current Router user.

Get Linked Account

Authentication

Send the session cookie or Authorization: Bearer <api-key>.

Response

string
Identifier of the linked Serve account.
string
Email associated with the linked Serve account.

Update Linked Account

Authentication

Send the session cookie or Authorization: Bearer <api-key>.

Request Body

string
required
New Serve account identifier to link.