Skip to main content
Connect to external identity and service providers over OAuth 2.0, such as Microsoft, Google or Dropbox. Sign in through a provider, which can also create the account, or connect a provider account to your own — such as a cloud storage — then obtain a fresh access token for it or disconnect it. A provider can also verify a share recipient or authorize a signature. A client that cannot rely on the session cookie, such as a native app, exchanges a one-time code for a login token.

Endpoints

  • GET /oauth/code — Exchange an OAuth code for a login token
  • GET /oauth/{strategy_name} — Start a flow with an external provider
  • GET /oauth/{strategy_name}/callback — Finish an OAuth flow
  • GET /oauth/{strategy_name}/token — Get an access token for a connected provider
  • DELETE /oauth/{strategy_name}/token — Disconnect an external provider