OAuth 2.1

Handle External Provider Callback

Обработка callback от внешнего OAuth провайдера

Обменивает authorization code на токены и сохраняет их

get/api/oauth2/providers/{provider}/callback

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/oauth2/providers/{provider}/callback
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

providerstring required

Provider ID

Query parameters

codestring nullable

Authorization code from provider

statestring nullable

State parameter

errorstring nullable

Error from provider

Response

Successful Response

unknown required

Changes

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