Onehub API
OnehubCode Examples
  • Introduction
  • API
    • Getting Started
    • Important Information
    • Authorization
    • Errors
    • Pagination
    • Roles
  • Methods
    • Comments
    • Events
    • Files
    • Folders
    • Invitations
    • Links
    • Rolemaps
    • Workspaces
Powered by GitBook
On this page
  • Supported OAuth 2.0 Grant Types
  • Authorization Endpoint
  • Password Grant Examples

Was this helpful?

  1. API

Authorization

PreviousImportant InformationNextErrors

Last updated 5 years ago

Was this helpful?

The Onehub API uses for both authorization and authentication. Authorize your account when using the API by including your client ID and secret along with your preferred OAuth 2 authorization method.

We recommend using an in your language of choice.

All API requests must be made over . Requests made over plain HTTP will results in an . Requests made without authorization will also result in an .

Supported OAuth 2.0 Grant Types

Authorization

Primarily used in the context of integrating your app with Onehub and allowing users to grant it access to their data via a web-based authorization flow. More information on this grant type can be .

Password

Used for directly authenticating as a user. Use this grant type if you want to access your own Onehub data via the API. More information on this grant type can be .

Authorization Endpoint

https://ws-api.onehub.com/oauth/authorize

Password Grant Examples

OAuth 2.0 Draft 10
existing OAuth 2 library
HTTPS
error
error
found here
found here
Ruby
Java