Files
upstream-ory-kratos/oryx/jsonschemax/stub/nested-array.schema.json
upstream-mirror c60cc7ca75
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 21:19:12 +05:00

106 lines
3.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"providers": {
"title": "OpenID Connect and OAuth2 Providers",
"description": "A list and configuration of OAuth2 and OpenID Connect providers ORY Kratos should integrate with.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"examples": ["google"]
},
"provider": {
"title": "Provider",
"description": "Can be one of github, gitlab, generic, google, microsoft, discord.",
"type": "string",
"enum": [
"github",
"gitlab",
"generic",
"google",
"microsoft",
"discord"
],
"examples": ["google"]
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"issuer_url": {
"type": "string",
"format": "uri",
"examples": ["https://accounts.google.com"]
},
"auth_url": {
"type": "string",
"format": "uri",
"examples": ["https://accounts.google.com/o/oauth2/v2/auth"]
},
"token_url": {
"type": "string",
"format": "uri",
"examples": ["https://www.googleapis.com/oauth2/v4/token"]
},
"mapper_url": {
"title": "Jsonnet Mapper URL",
"description": "The URL where the jsonnet source is located for mapping the provider's data to ORY Kratos data.",
"type": "string",
"format": "uri",
"examples": [
"file://path/to/oidc.jsonnet",
"https://foo.bar.com/path/to/oidc.jsonnet",
"base64://bG9jYWwgc3ViamVjdCA9I..."
]
},
"scope": {
"type": "array",
"items": {
"type": "string",
"examples": ["offline_access", "profile"]
}
},
"tenant": {
"title": "Azure AD Tenant",
"description": "The Azure AD Tenant to use for authentication.",
"type": "string",
"examples": [
"common",
"organizations",
"consumers",
"8eaef023-2b34-4da1-9baa-8bc8c9d6a490",
"contoso.onmicrosoft.com"
]
}
},
"additionalProperties": false,
"required": [],
"if": {
"properties": {
"provider": {
"const": "microsoft"
}
},
"required": ["provider"]
},
"then": {
"required": ["tenant"]
},
"else": {
"not": {
"properties": {
"tenant": {}
},
"required": ["tenant"]
}
}
}
}
}
}