Authenticate OAuth

GET {{api_base}}/{{api_version}}/api/integration/oauth/{{provider}}

Overview

Allows you to get an authorization token for using the user's account. Callback is located at /oauth/{provider}/callback which will verify the token recieved from the OAuth, then redirect you finally to https://torbox.app/{provider}/success?token={token}&expires_in={expires_in}&expires_at={expires_at}

Providers:

  • google -> Google Drive

  • dropbox -> Dropbox

  • discord -> Discord

  • onedrive -> Azure AD/Microsoft/Onedrive

Authorization

No authorization needed. This is a whitelabel OAuth solution.

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``