NextGen APIs

[WIP] Bearer Token Authentication

This page is a DRAFT

  1. To get the Bearer token, simply call the Private API (ref. page /*TODO insert page here*/):

METHOD: POST 
URL: {privateAPIBasePath}/api/configurations/identity/r1/tokens
BODY: 
{
  "username": "{username}",
  "password": "{password}"
}
  1. Make sure the Bearer token is inserted in the Authorization header, among the request’s headers

  2. If something goes wrong with the Authentication a 401-Unauthorized error occurs.