There are two distinct categories of OAuth, backed by two distinct applications:
  1. User login — sign up and sign in with GitHub, Google, Microsoft or LinkedIn.
  2. Workspace integrations — connect an external service so agent tools can use it.

Connecting a workspace integration

1

Get the authorisation URL

GET /api/integrations/{provider}/{service}/connect
2

User consents

On the provider’s consent screen.
3

Provider redirects back

POST /api/integrations/{provider}/callback
4

Tokens are stored encrypted

In the integrations table, encrypted with ENCRYPT_KEY.
Agent tools then use those tokens transparently.

Supported services

Endpoints