OAuth Management

The OAuth Management API provides routes for:

  • managing the primary OAuth client

  • creating and managing secondary OAuth clients

About OAuth Clients

During initial onboarding for the Integration API, iownit creates your OAuth client for your primary integration with the iownit platform. If you have multiple back-office apps that need to integrate with the platform, you will need to create secondary OAuth clients. These clients are linked to the same organization and are managed by the primary OAuth client. Secondary clients usually perform a subset of tasks and, therefore, require a smaller access scope.

Determining the Required Scope

The OAuth scope required for each endpoint in the Integration API is included in the description for each endpoint.

To find the required scope for an endpoint in the json file:

  1. Access the underlying json file in Swagger.

    You can do this by clicking the link in the upper right corner of the Swagger display.

  1. Download the JSON file.

  2. Open the file in an editor that parses the JSON.

    For example, you can use editor.swagger.io.

  1. Locate the endpoint of interest.

  2. Scroll to the security section of the endpoint spec. The scope is listed under oauth2.

Endpoints

Create OAuth Client

Update OAuth Client

Reset OAuth Client Password

Update Own Password

Remove OAuth Client

Getters

Get All OAuth Clients for Current Organization

Get Current OAuth Client

Last updated

Was this helpful?