Skip to main content
Maria Fonseca
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
November 4, 2022

How to generate a client secret for Open Industrial Data?

  • November 4, 2022
  • 13 replies
  • 1699 views

In Open Industrial Data (OID), we have moved away from API keys. Open Industrial Data currently supports Open ID connect. You can check out more on how to configure OpenID Connect on Open Industrial Data.

If you are planning to use OID and authenticate using client credentials flow, you will need a client secret from the app registration on the Azure Active Directory. Go to Open Industrial Data and you will observe there is a widget for generating a new client secret ID

In the drop down, you can select two options:

  • Other: Use this if you are using Postman or Python SDK
  • Javascript: Select this option if your app is in Javascript

Once you click on Create client secret, this will be display just once. Make sure to save it somewhere safe.

Let me know if you have any questions 🙂

13 replies

Committed ⭐️⭐️⭐️
April 2, 2025

I cannot get the client secret widget to work. I just get a popup telling me a secret has been created, but with no actual secret.

Checking the console I see it’s a 502 Bad Gateway error:

 

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
April 2, 2025

@Christian Toftegaard I checked from my end and it’s working as expected. Can you please try again using an incognito window?

Committed ⭐️⭐️⭐️
April 2, 2025

@Christian Toftegaard I checked from my end and it’s working as expected. Can you please try again using an incognito window?

Yes, that worked!

But now it all works, in both Chrome, Edge and Firefox, even without using an incognito window.

Thanks!