Aria Compute ROUTER supports OAuth login and linking to an Aria Compute Serve account. The start endpoint returns a URL that redirects the user to an identity provider; the callback exchanges the result for a session. Dedicated endpoints read and update the linked Serve account.
Start OAuth Flow
Initiate an OAuth authorization request.
Endpoint
Authentication
No authentication required.
Request Body
Name of the OAuth provider to use.
Response
URL to redirect the user to for provider authorization.
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
Authorization code returned by the OAuth provider.
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
Identifier of the linked Serve account.
Email associated with the linked Serve account.
Update Linked Account
Authentication
Send the session cookie or Authorization: Bearer <api-key>.
Request Body
New Serve account identifier to link.