Create Provider
POST/api/v1/auth/oidc-providers
Create a new OIDC provider configuration (admin only).
Secret values in the body are written to the secret store before the YAML, and only once the name is free and the provider passes the field rules for its type and mode, so a refused provider leaves nothing behind. A secret named by an env var the engine does not set, with no value sent for it, is refused the same way (env_var_not_set).
Request
Responses
- 201
- 401
- 403
- 422
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first
Validation Error