OrderCloud — Single Sign On — Salesforce

Only Sitecore
2 min readJun 6, 2023

--

Hi

If you are interested to integrate some external app in OrderCloud platform as a SSO, ther are couple of examples already there:

That’s great to start working with a new provider. I am today trying to use Salesforce as your IDP and use that platform to be able to log in to OrderCloud.

In order to integrate that, there are two sides of the work. 1. Salesforce side and 2. OrderCloud side

Salesforce

Create a connected app. Make sure you have the below changes

Once that’s done. It’s time to change from the OrderCloud side.

OrderCloud

Create an integration event:

A sample integration event is as below:

I’m assuming you have done all those Api client related set up. You also need to make sure your storefront (A sample one is provided here: “https://github.com/ordercloud-api/openidconnect-poc”) is running via ngrok so that it can be accessible from OrderCloud portal by integration event

The next is to create the open id connect object as below:

Those highlighted ones are the importan one that you need to provide. You should get all those settings from the connected app of Salesforce.

After this, you can hit the sample app provided above, and you can see it successfully generates the token which can be used to interact to OrderCloud.

That’s it. If you have any question. You can reach out to me at: arif_uap@outlook.com

Cheers.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response