webMethods

webMethods

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.

 View Only

Configuring Auth 2.0 Account in Sitecore Content Hub on webMethods.io 

Mon July 26, 2021 10:39 AM

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.

Generate Client ID and Client Secret

Step 1 → Login to Sitecore Content Hub

Step 2 → Configure OAuth Clients

Click on image button on top left corner. Search for OAuth Clients.

Click on image to configure OAuth Clients on the top right corner of your screen.

Populate the details as shown below.

Generate Access Token and Refresh Token

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

Create a connection on webMethods.io

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.


#Integration-Server-and-ESB
#webMethods-io-Integration
#webMethods

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Comments

Mon July 26, 2021 12:42 PM

Happy to help, Borislav - once I get “Guru” privileges, I will do this myself instead of tagging you :blush:

KM


#Integration-Server-and-ESB
#webMethods
#webMethods-io-Integration

Mon July 26, 2021 12:16 PM

Thanks once again for the note @Venkata_Kasi_Viswanath_Mugada1 :slight_smile:

@Priyanka_Bharti1 please make sure to set the Knowledge Base section when contributing tech articles.
Thanks for this tutorial!


#Integration-Server-and-ESB
#webMethods
#webMethods-io-Integration

Mon July 26, 2021 11:48 AM