Seeking clarification on REST API routes for IdP creation and configuration (Ignition 8.1)

Hi everyone,

I am working with the new REST API in Ignition 8.1 to automate our Gateway setup. My goal is to programmatically create and configure an Identity Provider (IdP) using two distinct steps.

I haven’t been able to find the /openapi documentation and I’d appreciate some help!

1. Creation Phase:
I need a route to create a new IdP instance by providing at least the name. Which route would it be?

2. Update/Configuration Phase:
Once the IdP exists, I need to update its specific fields. Specifically, I want to use the "Import from URL" feature via the API.

  • What is the route I should use to do that?

Thanks in advance!

8.1 doesn't have the REST API, 8.3 does.

Oh okay! Is there any way to create an IdP via code for 8.1? Or only in 8.3?

(post deleted by author)

Nothing supported.
8.1 doesn't have auth token based authentication, so while you can import IdP metadata as a human it's quite annoying to do programmatically.

There's also approaches involving raw access to the internal database we use in 8.1 and prior versions; some posts around that approach exist here on the forums. I would not recommend it.

1 Like

Okay, thank you so much!