Skip to content
Settings

OIDC_PROVIDER_DUPLICATE — provider already registered

cyoda-go version 0.8.2

OIDC_PROVIDER_DUPLICATE — a provider with the same wellKnownConfigUri is already registered for this tenant.

HTTP: 400 Bad Request. Retryable: no.

Each tenant may register a given wellKnownConfigUri only once. Submitting POST /oauth/oidc/providers with a URI that is already registered for the caller’s tenant returns this error.

To update the existing provider’s configuration (issuers, expected audiences, roles claim), use PATCH /oauth/oidc/providers/{id} instead.

  • errors
  • errors.OIDC_PROVIDER_NOT_FOUND
  • cyoda help errors — Every error response from the Cyoda REST API carries a structured errorCode in the properties object. Multiple codes may share the same HTTP status. Programmatic handling keys on errorCode, not HTTP status.
  • cyoda help errors OIDC_PROVIDER_NOT_FOUND — The provider UUID supplied in the path parameter does not correspond to a registered OIDC provider for the caller’s tenant. Either the provider was never registered, was deleted, or the UUID belongs to a different tenant (cross-tenant existence is not disclosed).