Skip to main content
Question

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

  • December 4, 2023
  • 2 replies
  • 296 views

Forum|alt.badge.img

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

Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • December 5, 2023

Hi @mrubillo ,

 

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

 

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+18
  • Most Valuable Pathfinder
  • December 6, 2023

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.