Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
In order to create an account of Sitecore Content Hub OAuth2.0 you need to follow certain steps
Majorly, the steps are to create a set of Client ID and Client Secret , generate set Access Token and Refresh Token, and finally use these values to create a connection on webMethods.io.
Step 1 → Login to Sitecore Content Hub
Step 2 → Configure OAuth Clients
Click on button on top left corner. Search for OAuth Clients.
Click on to configure OAuth Clients on the top right corner of your screen.
Populate the details as shown below.
Step 1 → Go to postman. Create a new POST HTTP Request.
Mention the endpoint as shown in the below snap. Add Basic Authentication and provide your Client ID and Client Secret in the UserName and Password respectively.
Note → You need to use your tenant-specific URL appended with /oauth/token
Step 2 → Add request body
Add below fields as application/x-www-form-urlencoded in the body as shown in the below snap.
Note - Provide credentials of the user which you have added in the OAuth Client
Click on Send. You will get below response
Step 1 → Login in webMethods.io
Step 2 → Create a new workflow. Drag Sitecore Content Hub Connector.
Step 3 → Use above details such as Client ID, Client Secret, Access Token, Refresh Token, Refresh URL and Server URL to create the connection.
Note → You need to use your tenant-specific Sitecore Content Hub Server and Refresh URL.
Happy to help, Borislav - once I get “Guru” privileges, I will do this myself instead of tagging you
KM
Thanks once again for the note @Venkata_Kasi_Viswanath_Mugada1
@Priyanka_Bharti1 please make sure to set the Knowledge Base section when contributing tech articles. Thanks for this tutorial!
@borislav.hristov, @toni.petrov - one more, please move this to Knowledgebase.