Connections

Aas Oauth Callback

Handle AAS OAuth callback from Microsoft with automatic tenant discovery.

This endpoint:

  1. Validates state parameter (CSRF protection)
  2. Exchanges authorization code for tokens
  3. Extracts tenant_id from token claims
  4. Stores refresh token in database (encrypted)
  5. Tests connection by listing databases on the AAS server
  6. Returns HTML that closes popup and notifies parent window
get/api/aas/oauth/callback

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/aas/oauth/callback
  • Auth: none declared

Query parameters

codestring
statestring
errorstring
error_descriptionstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.