We are unable to get a valid bearer token for the CSS API, or make any successful API calls, for that matter. We tried the online api tool (https://developer.opentext.com/services/products/content-storage-service/apis/information-storage-css-3-0-0)
As well as a direct curl to the token API:
curl --location --request POST 'https://us.api.opentext.com/tenants/3d57c377-15c3-4b7a-90ff-1b4d69063411/oauth2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "****",
"client_secret": "****",
"grant_type": "client_credentials",
"scope": "openid"
}'
The former resulting in '401 Unauthorized', the latter resulting in 'Invalid ApiKey'. We are using the US endpoints for our auth attempts.
What I would like to know it: are we doing something wrong or is API access not even possible with the free trial we have?
This is our setup:
My team signed up for a free developer plan for the thrust services bundle here:
https://developer.opentext.com/plans
Then in our tenant, we activated a Core Content Management Trial:
Then, we added a Service Client to the tenant, to get a client id and client secret for authentication:
In this post from last year, @Roger K makes it sound like the Core Content Trials don't include API access by default. Is this still the case?
In my core content trial, under Plans I don't see API access under included features:
Any help in understanding this better would be appreciated!