Identity

An identity.

Create an identity provider

Create a new identity provider.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing identity provider information.

name
required
string <= 1000 characters

The name of the identity provider.

issuer
required
string <uri, https://> <= 1000 characters

The issuer of the identity provider.

client_id
required
string <= 1000 characters

The client id of the identity provider.

client_secret
required
string <= 1000 characters

The client secret of the identity provider.

discovery
boolean
Default: true

The discovery flag of the identity provider.

The provider must be configured manually if discovery is disabled.

provisioning
boolean
Default: true

The provisioning flag of the identity provider.

authorization_endpoint
string or null <uri, https://> <= 1000 characters

The authorization endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

token_endpoint
string or null <uri, https://> <= 1000 characters

The token endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

userinfo_endpoint
string or null <uri, https://> <= 1000 characters

The userinfo endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

jwks_uri
string or null <uri, https://> <= 1000 characters

The jwks uri of the identity provider.

Needs to be set manually if discovery is set to false.

prompt
boolean
Default: true

The prompt flag of the identity provider.

type
integer
Default: 1

The provider type of the identity.

  • 1 - OIDC
Value: 1
status
integer
Default: 0

The status of the identity provider.

  • 0 - Disabled
  • 1 - Active
Enum: 0 1
Responses
201

Successful operation

422

Unprocessable Content

post/identityprovider
Request samples
application/json
{}
Response samples
application/json
{
  • "success": true,
  • "hash": "b0393b97aa5acd983ee5a7f47796bb6ffcd766a5",
  • "data": {
    },
  • "timestamp": 1751554123257
}

Get all identity providers

Get all identity providers of the authenticated user.

SecurityJWT
Request
query Parameters
page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

404

Not Found

get/identityprovider
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "f8334f8fc60a314fc3af118c03ed45556b1c04b5",
  • "data": [
    ],
  • "meta": {
    },
  • "timestamp": 1662388450027
}

Get an identity provider

Get an identity provider.

SecurityJWT
Request
path Parameters
identityprovider
required
string or integer

The id/hash of the identity provider.

Responses
200

Successful operation

404

Not Found

get/identityprovider/{identityprovider}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "b0393b97aa5acd983ee5a7f47796bb6ffcd766a5",
  • "data": {
    },
  • "timestamp": 1743417343073
}

Update an identity provider

Update an identity provider.

SecurityJWT
Request
path Parameters
identityprovider
required
string or integer

The id/hash of the identity provider.

Request Body schema: application/json

A JSON object containing identity provider information.

name
string <= 1000 characters

The name of the identity provider.

issuer
string <uri, https://> <= 1000 characters

The issuer of the identity provider.

client_id
string <= 1000 characters

The client id of the identity provider.

client_secret
string <= 1000 characters

The client secret of the identity provider.

discovery
boolean
Default: true

The discovery flag of the identity provider.

The provider must be configured manually if discovery is disabled.

provisioning
boolean
Default: true

The provisioning flag of the identity provider.

authorization_endpoint
string or null <uri, https://> <= 1000 characters

The authorization endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

token_endpoint
string or null <uri, https://> <= 1000 characters

The token endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

userinfo_endpoint
string or null <uri, https://> <= 1000 characters

The userinfo endpoint of the identity provider.

Needs to be set manually if discovery is set to false.

jwks_uri
string or null <uri, https://> <= 1000 characters

The jwks uri of the identity provider.

Needs to be set manually if discovery is set to false.

prompt
boolean
Default: true

The prompt flag of the identity provider.

type
integer
Default: 1

The provider type of the identity.

  • 1 - OIDC
Value: 1
status
integer
Default: 0

The status of the identity provider.

  • 0 - Disabled
  • 1 - Active
Enum: 0 1
Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/identityprovider/{identityprovider}
Request samples
application/json
Response samples
application/json
{
  • "success": true,
  • "hash": "b0393b97aa5acd983ee5a7f47796bb6ffcd766a5",
  • "data": {
    },
  • "timestamp": 1751556176043
}

Delete an identity provider

Delete an identity provider.

SecurityJWT
Request
path Parameters
identityprovider
required
string or integer

The id/hash of the identity provider.

Responses
200

Successful operation

404

Not Found

delete/identityprovider/{identityprovider}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
  • "data": { },
  • "timestamp": 1751557396363
}

Clear an identity provider

Clear the cache for an identity provider.

SecurityJWT
Request
path Parameters
identityprovider
required
string or integer

The id/hash of the identity provider.

Responses
200

Successful operation

404

Not Found

post/identityprovider/{identityprovider}/clear
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
  • "data": { },
  • "timestamp": 1751968770400
}