snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
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

This commit is contained in:
upstream-mirror
2026-09-15 21:19:12 +05:00
commit c60cc7ca75
8092 changed files with 394160 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
selfservice:
flows:
settings:
privileged_session_max_age: 5m
required_aal: aal1
logout:
after:
default_browser_return_url: http://localhost:4455/login
registration:
enable_legacy_one_step: true
after:
password:
hooks:
- hook: session
oidc:
hooks:
- hook: session
recovery:
enabled: true
verification:
enabled: false
methods:
totp:
enabled: true
config:
issuer: issuer.ory.sh
lookup_secret:
enabled: true
webauthn:
enabled: true
config:
rp:
id: localhost
origin: http://localhost:4455
display_name: Ory
oidc:
enabled: true
config:
providers:
- id: hydra
label: Ory
provider: generic
client_id: ${OIDC_HYDRA_CLIENT_ID}
client_secret: ${OIDC_HYDRA_CLIENT_SECRET}
issuer_url: http://localhost:4444/
scope:
- offline
mapper_url: file://test/e2e/profiles/oidc/hydra.jsonnet
- id: google
provider: generic
client_id: ${OIDC_GOOGLE_CLIENT_ID}
client_secret: ${OIDC_GOOGLE_CLIENT_SECRET}
issuer_url: http://localhost:4444/
scope:
- offline
mapper_url: file://test/e2e/profiles/oidc/hydra.jsonnet
- id: github
provider: generic
client_id: ${OIDC_GITHUB_CLIENT_ID}
client_secret: ${OIDC_GITHUB_CLIENT_SECRET}
issuer_url: http://localhost:4444/
scope:
- offline
mapper_url: file://test/e2e/profiles/oidc/hydra.jsonnet
identity:
schemas:
- id: default
url: file://test/e2e/profiles/email/identity.traits.schema.json
secrets:
cipher:
- secret-thirty-two-character-long
session:
whoami:
required_aal: aal1

View File

@@ -0,0 +1,48 @@
{
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
},
"webauthn": {
"identifier": true
}
}
}
},
"website": {
"type": "string",
"format": "uri",
"minLength": 10
},
"tos": {
"title": "Accept Terms of Service",
"type": "boolean"
},
"age": {
"title": "Age",
"type": "number",
"maximum": 300
}
},
"required": [
"email",
"website"
],
"additionalProperties": false
}
}
}