How to get ACCESS TOKEN for Exstream APIs
To use Exstream APIs, I am able to use endpoint /authentication/credentials to get OTDS ticket, but for some APIs, they request an ACCESS TOKEN, my question is how to get the ACCESS TOKEN?
This is the response of /authentication/credentials
{ "token": "213312312312312312312312",
"userId": "my Id",
"ticket": "*OTDSSSO*AbBBQlFDajNEdGtRcUlMNmJDZGVGbX…"
}
Answers
-
The access token is something to request from the OTDS API. I followed this route:
You need to configure an "OAUTH client". You can choose the client_id, but the "secret" is generated upon creation. Take note on the
Resource
parameter that is to be set to valueResource:Empower
.I too needed a "regular user account" for successful login (usernamem, password, grant_type). I placed both in a group that has "Empower-Admin" permissions, as you need this one to manipulate the documents = admin. I was not successful with the OAUTH credentials alone.
You might not need the
refresh_token
, as usually the API call does not time out the session.Then call the
/otdsws/login
API.0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 146 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 173 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax