Authentication

All client audit log API calls require you to complete authentication using an OpenID Connect access token. Your request for the access token must include a base64 encoded key that we provide to you.

The response for successful requests returns JSON with the access_token that you'll need to complete authentication. This token expires after one hour, at which point you'll need to generate a new one.

To get an access token, send a request to the endpoint included in the example below:

curl -d "grant_type=client_credentials" -X POST -H "Content-Type:application/x-www-form-urlencoded" -H "Authorization: Basic dGVzdC1jbGllbnQ6YzM0ZDQxZDctNTI5My00NDg4LWIxZDQtNjMzODc5M2I4YzU3" https://identity.indexexchange.com/auth/realms/eventlog/protocol/openid-connect/token
 
 
{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJQTVhhU2F5TVhxeWhfQVFSX0RSdThfNEFodDcwVTVjNFBMa2J6VGhCa04wIn0.eyJqdGkiOiI2NTJiNzRkNS1kMjcwLTQwMzAtYTQ2OC0zMDZiYzkyNzRkNDIiLCJleHAiOjE1Mzg3NjMwMjAsIm5iZiI6MCwiaWF0IjoxNTM4NzYyOTYwLCJpc3MiOiJodHRwczovL2lkZW50aXR5LXRlc3QuaW5kZXhleGNoYW5nZS5jb20vYXV0aC9yZWFsbXMvZXZlbnRsb2ciLCJhdWQiOiJ0ZXN0LW1lcmtsZS1jbGllbnQiLCJzdWIiOiIwODA2MWU4OS05ODE3LTQ5NDgtYThmMC03ZTgyODk1ZTdlNGQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJ0ZXN0LW1lcmtsZS1jbGllbnQiLCJhdXRoX3RpbWUiOjAsInNlc3Npb25fc3RhdGUiOiJlZmQ4MmU3NC1kMDIyLTQ3ZTAtYTdlNS01Y2NjNTNmMDYwZmUiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsidGVzdC1tZXJrbGUtY2xpZW50Ijp7InJvbGVzIjpbInVtYV9wc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