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
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories