Dynatrace API
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scopes empty decoding the bearer token

MaximilianoML
Champion

Hello guys, 

I'm trying to request a Bearer Token via n8n workflow using the oAuth Client, and everything looks good on the Reqs,

For example the response from the oAuth Client is:

[  {
"scope": "app-engine:functions:run storage:logs:read mcp-gateway:servers:invoke mcp-gateway:servers:read", 
"token_type": "Bearer",
"expires_in": 300,
"access_token": "eyJhbGciOiJ.RestOfTheToken",
"resource": "urn:dtaccount:numbersHere"
}]

The interesting part comes when I try to use the Token, it says that miss some scopes (the ones I sent), and when I decode to check the scopes they're empty... I already checked the permissions and I also used these credentials before in another tool.

Any ideia?

Max Lopes
0 REPLIES 0

Featured Posts