# Create OIDC configuration for a tenant

`POST /lokta-lms/api/v1/tenants/{tenantId}/oidc-config`

Creates a new OIDC/IdP configuration for the given tenant. The clientSecret is encrypted at rest and never returned in responses. The issuerUri must be globally unique across all tenants.

## Parameters
- `tenantId` (path, string, required): tenantId

## Responses
- `default`: default response

## Example request (cURL)
```bash
curl -X POST \
  'https://default.lokta.tech/lokta-lms/api/v1/tenants/{tenantId}/oidc-config' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
"string"
```

Interactive: https://developer.lokta.ai/reference#operation/create_1
