younifyd
Menu

Post V2 Authentication Realms Realm Id Oidc Profiles

Create an OIDC Profile

POST/v2/authentication-realms/{realmId}/oidc-profiles

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Post V2 Authentication Realms Realm Id Oidc Profiles action (under Single Sign-On).
  3. Fill in the fields below, then reference the result from later steps as {{postV2AuthenticationRealmsRealmIdOidcProfiles.response.data}}.

Request

Path parameters

realmIdstring (uuid)required

The ID of the authentication realm.

Request body

Enter the body as JSON in the step's Body field.

dataobjectrequired
typestringrequired

Specifies the type of object. Set this value to `oidc-profile`.

namestringrequired

Specifies the name of the OIDC profile.

discovery_urlstring (uri)

The OIDC discovery URL.

client_idstring

The client ID for the OpenID Provider.

client_secretstring

The client secret for the OpenID Provider.

json
{
  "data": {
    "type": "string",
    "name": "my-oidc-profile",
    "discovery_url": "https://example.com/.well-known/openid_configuration",
    "client_id": "my-client-id",
    "client_secret": "my-client-secret"
  }
}

Response

Returns 201 with an object. Read it in later steps with {{postV2AuthenticationRealmsRealmIdOidcProfiles.response.data.<field>}}.

dataany
linksany
json
{
  "data": null,
  "links": null
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Post V2 Authentication Realms Realm Id Oidc Profiles — Elastic Path — Documentation