OAUTH2 authentication
Hi,
APIs it supports OAUTH2 authentication and it's referring to access MyPortal to get Client Id and Client Secret .I didn’t see any additional info when I was trying to access to API Developer’s website. Can you please provide guidance to access OpenText API MyPortal to get OAUTH2 authentication. Thank you!!!
Comments
-
@Ballamudi , I moved your question to our Cloud Fax & Notifications area. Please let me know if this is the correct product you are using so that we can get you connected to the right group of experts.
0 -
@Karen Weir Thanks for you quick response. Here is my ask, We have a OpenText Messaging Fax REST API (V1) in order to access these APIs OAUTH2 authorization is required for all request. I am unable find out that information in the OpenText API developer website. Also there are few resource which may help but those are not accessible with my account. Here you go.. https://forums.opentext.com/forums/support/discussion/295587/workflow-rest-api-question-content-server-16-2
Thank you.
0 -
@Karen Weir Thanks for moved to Cloud Fax & Notifications area. Thank you.
0 -
To Create the Client ID and Client Secret:
- Login to MyPortal
- If admin user, Navigate to Administration > Manage Users > Select a user profile and click the edit icon to open the User Actions menu and click Manage API credentials.
- If not admin user, Navigate to Administration > Users Preferences > Manage API credentials.
- In the Create client credentials dialog box, enter an Application name (up to 255 characters), and then click Create.
- In the dialog box, copy the Client ID and the Client secret and save these credentials, then click Close.
Note: If a user needs an unsaved or lost Client secret, a new Client ID and Client secret must be created.
The newly created credentials are displayed in the Existing clients table.
This information can also be found in the online help section after logging in to MyPortal
To create the JWT Tokens for Oauth2 authorization:
The URL for generating JWT Tokens for the obtained Client ID and Client Secret is https://api.us.cloudmessaging.opentext.com/mra/v1/oauth2/token
This is a POST URL and the request body would be in the format:
{ "grant_type": "client_credentials", "client_id": "---client--id---here--", "client_secret": "--client---secret--here--" }
Note: The JWT Tokens generated are valid only for 30 mins and will need to be regenerated accordingly, using the same Client ID and Client Secret
0 -
@Arun Prasad Thanks for your quick response. How to get my portal access and what is My Portal URL. Is https://myportal.opentext.com/XddsPortal/ the URL ? If yes How can I register/ get access to this portal. This is required to get Client Id and client secret to get access token for authentication. Can you please help. Thank you!!!
0 -
Please contact sales team for details on getting the access
0 -
@Arun Prasad Thanks for your time. I got my account details along with fax number as well. I was trying to send fax using OpenText API with URL
- https://api.us.cloudmessaging.opentext.com/mra/v1/outbound/faxes - Production NA
- https://api.eu.cloudmessaging.opentext.com/mra/v1/outbound/faxes - Production EMEA
- https://t2api.us.cloudmessaging.opentext.com/mra/v1/outbound/faxes -Pre Prod
But none of them are reachable. I tried to ping them manually from command prompt but there as well its not reachable.
Finally I tried with API URL is https://messagingus.opentext.com/mra/v1/outbound/faxes but that’s not working its giving 404 error.
Can you please help in providing correct API URL along with sample payload. Thank you.
0 -
@Arun Prasad Thanks for your time. I was trying to send fax using OpenText API with URL
o https://api.us.cloudmessaging.opentext.com/mra/v1/outbound/faxes - Production NA
o https://api.eu.cloudmessaging.opentext.com/mra/v1/outbound/faxes - Production EMEA
o https://t2api.us.cloudmessaging.opentext.com/mra/v1/outbound/faxes -Pre Prod
But none of them are reachable. I tried to ping them manually from command prompt but there as well its not reachable. Can you please help to get correct API URL? Thank you.
0 -
The above urls are correct. We are able to access these urls. Kindly try using curl command to any of the above urls and you should be getting an authentication error.
curl https://api.us.cloudmessaging.opentext.com/mra/v1/outbound/faxes
If that too fails kindly check any network firewalls from your end that might be blocking access to these urls.
0 -
@Arun Prasad Thank you!!!
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 184 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories