How to get OTCSTICKET using oAuth 2.0 Client's access_token?
Hi,
I am working on an integration with Content Server. I have setup an oAuth 2.0 client in OTDS and I am testing the connection from the Postman so its easier to troubleshoot issues. I am getting the access_token when I call the oAuth 2.0 Authorization flow from the Postman. I am trying to see how I can use this access_token to get the OTCSTICKET so I can use it in for the subsequent OTCS REST API calls.
If we are getting the OTDSTICKET from OTDS REST API, then we exchange the ticket with the OTCS Resource (/ticketforresource) and then GET call to OTCS /auth api to get the OTCSTICKET. But I am not sure how that works with access_token.
Appreciate your thoughts.
Thank,
Mahesh
Answers
-
It worked by passing the access token as a bearer token set to Authorization header in the REST APIs. I always thought you need to pass OTCSTICKET in the header. This is a good find that we can also send Bearer token in the header.
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