Skip to content

Create OIDC Provider (Admin)

PUT
/oidc/admin/providers

Creates a new OIDC authentication provider with specified configuration including client credentials and endpoints. Admin access required.

Authorizations

BearerAuth

Enter your session token to authenticate API requests

TypeHTTP (bearer)

Request Body

application/json
JSON
{
"name": "string",
"issuer": "string",
"clientId": "string",
"clientSecret": "string",
"redirectUri": "string",
"scope": "openid profile email",
"enabled": false,
"emailAttribute": "email",
"firstNameAttribute": "given_name",
"lastNameAttribute": "family_name",
"usernameAttribute": "preferred_username",
"isInternal": false
}

Responses

Provider created successfully with new provider ID
application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

Distributed under the MIT License