Authentication
Provides access tokens to be used with requests to our APIs to secure communications with Nibela system.
Endpoints
Get an API access token
To get an access token, call the following endpoint using client_id and client_secret.
POST https://<AUTH_SERVER_URL>/token
Headers
Name
Type
Description
Content-Type*
string
The content type with value "application/x-www-form-urlencoded"
Request Body
Name
Type
Description
grant_type*
string
The grant type with value "client_credentials"
client_id*
string
The identifier for your client
client_secret*
string
The secret for your client
curl -X POST 'https://${AUTH_SERVER_URL}/realms/nibela/protocol/openid-connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=${YOUR_CLIENT_ID}' \
--data-urlencode 'client_secret=${YOUR_CLIENT_SECRET}'Last updated