Acquiring an access token from our Identity Server

We have recently updated our Identity Server, meaning that authentication requests are a little different. Specifically:
- the Identity server URL is now
- scope parameter has to be lowercase "ximbleapi" string
- Access token expires after 1 hour.

Every request to the Paycor Scheduling API must include an access token in the request header. These tokens need to be requested through authentication with our Identity Server, and are currently valid for one hour.

To retrieve the ACCESS_TOKEN, use the following endpoint:

  type: 'POST',
  data: {
            "response_type": "token"
  url: '',
  async: false,
  headers: {
    Authorization: "Basic " + CLIENT_TOKEN,
    Content-Type: "application/x-www-form-urlencoded"
  success: function(data) { 
  "access_token": ACCESS_TOKEN,
  "expires_in": 720000,
  "token_type": "Bearer"