Popup-aware OAuth callback (Plan 209-02)
GET /api/v1/connectors/{slug}/oauth/callback
GET
/api/v1/connectors/{slug}/oauth/callback
Handles the OAuth provider redirect for both popup and fullpage flows. Performs atomic rollback so a failed token exchange leaves no orphan connector row. Returns popup HTML (for ?ui=popup) or RedirectResponse to /settings/connectors (for ?ui=fullpage).
Authorizations
Parameters
Path Parameters
slug
required
string
Query Parameters
ui
string
Responses
200
Successful Response
string
422
Validation Error
object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string