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,58 @@
selfservice:
flows:
settings:
ui_url: http://localhost:4455/settings
privileged_session_max_age: 5m
logout:
after:
default_browser_return_url: http://localhost:4455/login
registration:
enable_legacy_one_step: true
ui_url: http://localhost:4455/registration
after:
password:
hooks:
- hook: session
- hook: web_hook
config:
url: http://127.0.0.1:4459/webhook
method: POST
body: file://test/e2e/profiles/webhooks/webhook_body.jsonnet
can_interrupt: true
auth:
type: api_key
config:
name: X-Authorize-Request
value: "1"
in: header
login:
ui_url: http://localhost:4455/login
after:
password:
hooks:
- hook: web_hook
config:
url: http://127.0.0.1:4459/webhook
method: POST
body: file://test/e2e/profiles/webhooks/webhook_body.jsonnet
can_interrupt: true
auth:
type: api_key
config:
name: X-Authorize-Request
value: "1"
in: header
error:
ui_url: http://localhost:4455/error
verification:
ui_url: http://localhost:4455/verify
recovery:
ui_url: http://localhost:4455/recovery
identity:
schemas:
- id: default
url: file://test/e2e/profiles/webhooks/identity.traits.schema.json

View File

@@ -0,0 +1,42 @@
{
"$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": "Your E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
}
},
"website": {
"title": "Your website",
"type": "string",
"format": "uri",
"minLength": 10
},
"required": [
"email"
],
"additionalProperties": false
}
}
}

View File

@@ -0,0 +1,8 @@
function(ctx) {
identity_id: if std.objectHas(ctx, "identity") then ctx.identity.id else null,
email: if std.objectHas(ctx, "identity") then ctx.identity.traits.email else null,
flow_id: ctx.flow.id,
flow_type: ctx.flow.type,
identity: if std.objectHas(ctx, "identity") then ctx.identity else null,
ctx: ctx
}