In order to use an OAuth2 connection, you need to create an App. This will allow you to:
Declare a specific scope of APIs
Restrict access to only users who have access to the App
Creating the App
Go to the Developer space — you will land on the Apps tab, which displays a button to create one.
Open the view to create an App.
Fill in:
Name
Title
App code
Save
Enabling OAuth2
Go to the Security tab on the App's page
Enable OAuth2 in the dedicated section
Add at least one redirect URL
Save
Note down the following:
Authorization URL
Access Token URL
Client ID
Client Secret
Scope Rights and Restrictions
You can now choose the scopes (endpoints) open within this OAuth2 authentication via the Authorized APIs field.
Before starting the OAuth2 flow, install the App and grant access rights to this App for the identified users via the rights management interface (Apps section).
Starting the OAuth2 Flow
From an OAuth client, you can start the OAuth2 flow:
Authorize → Redirects to Boond to obtain an
authorization_codeCallback → Receives the code and exchanges it for an
access_tokenTest API Call → Test an API call with the token
Here's a curl example
curl -H "Authorization: Bearer <access_token>" \
-H "Accept: application/json" \
https://ui.boondmanager.com/api/application/current-user

