Question

API Error "Auth Config Token claim is required in OAuth2 access token"

  • 4 December 2023
  • 2 replies
  • 91 views

Badge

I am using the {{ControlRoomURL}}v1/authentication to generate a token.  I am then able to validate the token using the {{ControlRoomURL}}v1/authentication/token?token={{token}} API call and the token returns as valid but then when I use the token in the {{ControlRoomURL}}v1/audit/messages/list call it fails saying Auth Config Token claim is required in OAuth2 access token".  Can anyone tell me why this is happening and how to correct it?

 


2 replies

Userlevel 7
Badge +13

Hi @mrubillo ,

 

Kindly refer this Blog on how to use he OAuth 2.0 with Rest API. 

 
Userlevel 6
Badge +15

Hi @mrubillo ,

 

Is it possible to share a screenshot of the error and code here?

Note : After generating the token, it is important to pass it to the next call.

Reply