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:
109
test/e2e/profiles/two-steps/.kratos.yml
Normal file
109
test/e2e/profiles/two-steps/.kratos.yml
Normal file
@@ -0,0 +1,109 @@
|
||||
selfservice:
|
||||
flows:
|
||||
settings:
|
||||
ui_url: http://localhost:4455/settings
|
||||
privileged_session_max_age: 5m
|
||||
required_aal: aal1
|
||||
|
||||
logout:
|
||||
after:
|
||||
default_browser_return_url: http://localhost:4455/login
|
||||
|
||||
registration:
|
||||
enable_legacy_one_step: false
|
||||
ui_url: http://localhost:4455/registration
|
||||
after:
|
||||
password:
|
||||
hooks:
|
||||
- hook: session
|
||||
webauthn:
|
||||
hooks:
|
||||
- hook: session
|
||||
code:
|
||||
hooks:
|
||||
- hook: session
|
||||
oidc:
|
||||
hooks:
|
||||
- hook: session
|
||||
|
||||
login:
|
||||
ui_url: http://localhost:4455/login
|
||||
error:
|
||||
ui_url: http://localhost:4455/error
|
||||
verification:
|
||||
ui_url: http://localhost:4455/verify
|
||||
recovery:
|
||||
enabled: true
|
||||
use: code
|
||||
ui_url: http://localhost:4455/recovery
|
||||
|
||||
methods:
|
||||
password:
|
||||
enabled: true
|
||||
|
||||
webauthn:
|
||||
enabled: true
|
||||
config:
|
||||
passwordless: true
|
||||
rp:
|
||||
display_name: Your Application name
|
||||
# Set 'id' to the top-level domain.
|
||||
id: localhost
|
||||
# Set 'origin' to the exact URL of the page that prompts the user to use WebAuthn. You must include the scheme, host, and port.
|
||||
origin: http://localhost:4455
|
||||
|
||||
totp:
|
||||
config:
|
||||
issuer: Kratos
|
||||
enabled: true
|
||||
|
||||
lookup_secret:
|
||||
enabled: true
|
||||
|
||||
link:
|
||||
enabled: true
|
||||
|
||||
code:
|
||||
enabled: true
|
||||
passwordless_enabled: true
|
||||
config:
|
||||
lifespan: 1h
|
||||
|
||||
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/two-steps/identity.traits.schema.json
|
||||
|
||||
session:
|
||||
whoami:
|
||||
required_aal: aal1
|
||||
41
test/e2e/profiles/two-steps/identity.traits.schema.json
Normal file
41
test/e2e/profiles/two-steps/identity.traits.schema.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"$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
|
||||
},
|
||||
"code": {
|
||||
"identifier": true,
|
||||
"via": "email"
|
||||
},
|
||||
"webauthn": {
|
||||
"identifier": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"website": {
|
||||
"title": "Your website",
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"minLength": 10
|
||||
}
|
||||
},
|
||||
"required": ["email", "website"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user