OAuth 2.1
Get External Provider Authorize Url
Получить authorization URL для внешнего OAuth провайдера.
- ?flow=login или ?flow=register: login_flow (user_id=None), даже если есть сессия. Вызов без авторизации (страница входа).
- Без flow: provider_connect — привязка провайдера к текущему пользователю. Запрос должен выполняться с авторизацией (cookie/токен), чтобы в state попал user_id и после callback провайдер привязался к этому пользователю (Профиль → Безопасность → Способы входа).
get/api/oauth2/providers/{provider}/authorize
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}/authorize
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
providerstring required
Provider ID (google, github, etc.)
Query parameters
flowstring nullable
Flow: login or register = login_flow (no session); omit = connect for current user
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.