Opaque Tokens

I was trying to use the CloudFoundry API. I was able to obtain a regular token and call the API and things were working. I then read a blog about opaque tokens. I added the extra parameter to generate opaque tokens for the uaa API. I do get an opaque token however when I try to use it I get a 401 HTTP error. Does the API support opaque tokens? I am calling the following API:

https://api.cap.explore.suse.dev/v2/apps?q=name:test

What I get back is the following:

HTTP 401
{
"description": "Invalid Auth Token",
"error_code": "CF-InvalidAuthToken",
"code": 1000
}

Comments

Sign In or Register to comment.