POST
/
applications
/
{app}
/
oidc-clients
curl --request POST \
  --url https://api.rownd.io/applications/{app}/oidc-clients \
  --header 'Content-Type: application/json' \
  --header 'x-rownd-app-key: <api-key>' \
  --header 'x-rownd-app-secret: <api-key>' \
  --data '{
  "name": "Example OIDC Provider",
  "description": "Example OIDC Provider",
  "config": {
    "allowed_origins": [
      "https://example.com"
    ],
    "redirect_uris": [
      "https://example.com/callback"
    ],
    "post_logout_uris": [
      "https://example.com/logout"
    ],
    "logo_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
    "logo_dark_mode_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
    "allowed_scopes": [
      "openid",
      "profile",
      "email"
    ],
    "hub_title": "Sign in to My App with Another App",
    "hub_dark_mode": "enabled",
    "hub_show_logos": true,
    "is_pkce_supported": true
  }
}'
{
  "id": "oidc_client_ck9c1glf0100001l2f7z8z9z9",
  "app_id": "app_ckl8bcf1g000001l2f7z8z9z9",
  "name": "Example OIDC Provider",
  "description": "Example OIDC Provider",
  "config": {
    "allowed_origins": [
      "https://example.com"
    ],
    "redirect_uris": [
      "https://example.com/callback"
    ],
    "post_logout_uris": [
      "https://example.com/logout"
    ],
    "logo_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
    "logo_dark_mode_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
    "allowed_scopes": [
      "openid",
      "profile",
      "email"
    ],
    "hub_title": "Sign in to My App with Another App",
    "hub_dark_mode": "enabled",
    "hub_show_logos": true,
    "is_pkce_supported": true
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "credentials": [
    {
      "name": "Production API Key",
      "client_id": "<string>",
      "secret": "<string>",
      "expires": "2024-12-31T23:59:59Z",
      "application": "app_k3y1qwerty12345",
      "app_variant_id": "variant_fgy1qw367fty121lm",
      "oidc_client_configuration_id": "oidcc_k3y1qwerty12345",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

x-rownd-app-key
string
header
required

The publishable key of your application credentials. (more details)

x-rownd-app-secret
string
header
required

The private secret of your application credentials. (more details)

Path Parameters

app
string
required

Rownd application ID

Query Parameters

page_size
integer

Number of resources to return per query. Max is 1000.

after
string

ID of the last resource in the previous page. If provided, the next page of results is returned beginning with this resource ID.

sort
enum<string>

Which direction to sort the results

Available options:
asc,
desc

Body

application/json
name
string
required

Name of the OIDC client

Example:

"Example OIDC Provider"

description
string

Description of the OIDC client

Example:

"Example OIDC Provider"

config
object

Response

200 - application/json
OIDC client created successfully
id
string

Unique identifier for the OIDC client

Example:

"oidc_client_ck9c1glf0100001l2f7z8z9z9"

app_id
string

Application identifier associated with the OIDC client

Example:

"app_ckl8bcf1g000001l2f7z8z9z9"

name
string

Name of the OIDC client

Example:

"Example OIDC Provider"

description
string

Description of the OIDC client

Example:

"Example OIDC Provider"

config
object
created_at
string

The ISO 8601 date-time that the resource was created

updated_at
string

The ISO 8601 date-time that the resource was updated

credentials
object[]

Credentials associated with the OIDC client