{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-oauth2-oidc-configuration-xo-schema.json",
  "title": "OAuth2OidcConfigurationXO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-security-oauth2-oidc-api-openapi.yml#/components/schemas/OAuth2OidcConfigurationXO",
  "required": [
    "idpJwsAlgorithm",
    "usernameClaim"
  ],
  "type": "object",
  "properties": {
    "idpJwksUrl": {
      "type": "string"
    },
    "idpJwsAlgorithm": {
      "minLength": 1,
      "type": "string"
    },
    "idpJwks": {
      "type": "string"
    },
    "usernameClaim": {
      "minLength": 1,
      "type": "string"
    },
    "firstNameClaim": {
      "type": "string"
    },
    "lastNameClaim": {
      "type": "string"
    },
    "emailClaim": {
      "type": "string"
    },
    "groupsClaim": {
      "type": "string"
    },
    "exactMatchClaims": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "clientId": {
      "type": "string"
    },
    "clientSecret": {
      "type": "string"
    },
    "idpAuthorizationUrl": {
      "type": "string"
    },
    "idpLogoutUrl": {
      "type": "string"
    },
    "idpTokenUrl": {
      "type": "string"
    },
    "authorizationCustomParams": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "tokenRequestCustomParams": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "useTrustStore": {
      "type": "boolean"
    }
  }
}