Authorization of Request
Authorization is done via headers with included “Authorization” header with access token:
Authorization: Bearer null
Access Token can be retrieved from API by Grant Type Authorization Request.
(example from Postman)
Callback URL is the url where will be user redirected after successful login.
Auth URL is https://api.lifepeaks.dk/authorize (for developer version https://api-dev.lifepeaks.dk/authorize )
Access Token URL is https://api.lifepeaks.dk/token (for developer version https://api-dev.lifepeaks.dk/token )
State parameter can be anything and is required, more info https://auth0.com/docs/protocols/state-parameters
API Client ID and API secret can be found in company settings in Super admin users. You will need to fill in also API redirect (callback) URL in company settings.
You will need an user with the user right API user for accessing API. Super admins can create API users as other users in Users Admin. Every company can have more users: one for POS, another for website, another for affiliates, etc.