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
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:
3
selfservice/hook/stub/bad_template.jsonnet
Normal file
3
selfservice/hook/stub/bad_template.jsonnet
Normal file
@@ -0,0 +1,3 @@
|
||||
function(ctx) {
|
||||
flow_id: ctx.foo,
|
||||
}
|
||||
1
selfservice/hook/stub/cancel_template.jsonnet
Normal file
1
selfservice/hook/stub/cancel_template.jsonnet
Normal file
@@ -0,0 +1 @@
|
||||
error "cancel"
|
||||
27
selfservice/hook/stub/code.schema.json
Normal file
27
selfservice/hook/stub/code.schema.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$id": "https://example.com/registration.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"ory.sh/kratos": {
|
||||
"credentials": {
|
||||
"password": {
|
||||
"identifier": true
|
||||
},
|
||||
"code": {
|
||||
"identifier": true,
|
||||
"via": "email"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
selfservice/hook/stub/require_verified.schema.json
Normal file
21
selfservice/hook/stub/require_verified.schema.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$id": "https://example.com/registration.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"ory.sh/kratos": {
|
||||
"verification": {
|
||||
"via": "email"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
selfservice/hook/stub/stub.schema.json
Normal file
16
selfservice/hook/stub/stub.schema.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$id": "https://example.com/registration.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bar": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
selfservice/hook/stub/test_body.jsonnet
Normal file
10
selfservice/hook/stub/test_body.jsonnet
Normal file
@@ -0,0 +1,10 @@
|
||||
function(ctx) std.prune({
|
||||
flow_id: ctx.flow.id,
|
||||
identity_id: if std.objectHas(ctx, "identity") then ctx.identity.id,
|
||||
session_id: if std.objectHas(ctx, "session") then ctx.session.id,
|
||||
headers: ctx.request_headers,
|
||||
url: ctx.request_url,
|
||||
method: ctx.request_method,
|
||||
cookies: ctx.request_cookies,
|
||||
transient_payload: if std.objectHas(ctx.flow, "transient_payload") then ctx.flow.transient_payload,
|
||||
})
|
||||
24
selfservice/hook/stub/verify.schema.json
Normal file
24
selfservice/hook/stub/verify.schema.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$id": "https://example.com/registration.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"emails": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"ory.sh/kratos": {
|
||||
"verification": {
|
||||
"via": "email"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
31
selfservice/hook/stub/verify_email_and_phone.schema.json
Normal file
31
selfservice/hook/stub/verify_email_and_phone.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$id": "verify_email_and_phone.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"ory.sh/kratos": {
|
||||
"credentials": { "password": { "identifier": true } },
|
||||
"verification": { "via": "email" }
|
||||
}
|
||||
},
|
||||
"phone": {
|
||||
"type": "string",
|
||||
"format": "no-validate",
|
||||
"ory.sh/kratos": {
|
||||
"verification": { "via": "sms" }
|
||||
}
|
||||
},
|
||||
"name": { "type": "string" }
|
||||
},
|
||||
"required": ["email"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
31
selfservice/hook/stub/verify_single_email.schema.json
Normal file
31
selfservice/hook/stub/verify_single_email.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$id": "https://example.com/verify-single-email.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"ory.sh/kratos": {
|
||||
"credentials": {
|
||||
"password": {
|
||||
"identifier": true
|
||||
}
|
||||
},
|
||||
"verification": {
|
||||
"via": "email"
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["email"]
|
||||
}
|
||||
}
|
||||
}
|
||||
31
selfservice/hook/stub/verify_two_emails.schema.json
Normal file
31
selfservice/hook/stub/verify_two_emails.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$id": "verify_two_emails.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Two Email Schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"ory.sh/kratos": {
|
||||
"credentials": { "password": { "identifier": true } },
|
||||
"verification": { "via": "email" }
|
||||
}
|
||||
},
|
||||
"recovery_email": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"ory.sh/kratos": {
|
||||
"verification": { "via": "email" }
|
||||
}
|
||||
},
|
||||
"name": { "type": "string" }
|
||||
},
|
||||
"required": ["email"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user