Created
March 14, 2022 11:44
-
-
Save lucrus73/acbb6417f762c738f5cddfbe771ef940 to your computer and use it in GitHub Desktop.
Output of kratos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The configuration contains values or keys which are invalid: | |
The configuration contains values or keys which are invalid: | |
identity: map[default_schema_id:default schemas:[map[id:default schema:file:///srv/ory/kratos/identity.schema.json]]] | |
^-- validation failed | |
The configuration contains values or keys which are invalid: | |
identity.default_schema_url: <nil> | |
^-- one or more required properties are missing | |
The configuration contains values or keys which are invalid: | |
identity.schemas.0: map[id:default schema:file:///srv/ory/kratos/identity.schema.json] | |
^-- validation failed | |
The configuration contains values or keys which are invalid: | |
identity.schemas.0: map[id:default schema:file:///srv/ory/kratos/identity.schema.json] | |
^-- not failed | |
The configuration contains values or keys which are invalid: | |
identity.schemas.0.url: <nil> | |
^-- one or more required properties are missing | |
The configuration contains values or keys which are invalid: | |
identity: map[default_schema_id:default schemas:[map[id:default schema:file:///srv/ory/kratos/identity.schema.json]]] | |
^-- additionalProperties "default_schema_id" not allowed | |
The configuration contains values or keys which are invalid: | |
selfservice: map[allowed_return_urls:[http://127.0.0.1:4455] default_browser_return_url:http://127.0.0.1:4455/ flows:map[error:map[ui_url:http://127.0.0.1:4455/error] login:map[lifespan:10m ui_url:http://127.0.0.1:4455/login] logout:map[after:map[default_browser_return_url:http://127.0.0.1:4455/login]] recovery:map[enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/recovery] registration:map[after:map[password:map[hooks:[map[hook:session]]]] lifespan:10m ui_url:http://127.0.0.1:4455/registration] settings:map[lifespan:1h privileged_session_max_age:15m required_aal:highest_available ui_url:http://127.0.0.1:4455/settings] verification:map[after:map[default_browser_return_url:http://127.0.0.1:4455/] enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/verification]] methods:map[link:map[config:map[lifespan:1h] enabled:true] lookup_secret:map[enabled:false] oidc:map[enabled:false] password:map[config:map[haveibeenpwned_enabled:true haveibeenpwned_host:api.pwnedpasswords.com ignore_network_errors:true max_breaches:0] enabled:true] profile:map[enabled:true] totp:map[enabled:false] webauthn:map[enabled:false]]] | |
^-- additionalProperties "allowed_return_urls" not allowed | |
FATA[2022-03-14T12:40:41+01:00] Unable to instantiate configuration. audience=application error=map[message:I[#] S[#] validation failed | |
I[#/identity] S[#/properties/identity] validation failed | |
I[#/identity] S[#/properties/identity/required] missing properties: "default_schema_url" | |
I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items] validation failed | |
I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/not] not failed | |
I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/required] missing properties: "url" | |
I[#/identity] S[#/properties/identity/additionalProperties] additionalProperties "default_schema_id" not allowed | |
I[#/selfservice] S[#/properties/selfservice/additionalProperties] additionalProperties "allowed_return_urls" not allowed] service_name=Ory Kratos service_version=v0.8.2-alpha.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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 | |
} | |
}, | |
"verification": { | |
"via": "email" | |
}, | |
"recovery": { | |
"via": "email" | |
} | |
} | |
}, | |
"name": { | |
"type": "object", | |
"properties": { | |
"first": { | |
"title": "First Name", | |
"type": "string" | |
}, | |
"last": { | |
"title": "Last Name", | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"required": [ | |
"email" | |
], | |
"additionalProperties": false | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: v0.7.1-alpha.1 | |
dsn: memory | |
serve: | |
public: | |
base_url: http://127.0.0.1:4433/ | |
cors: | |
enabled: true | |
admin: | |
base_url: http://kratos:4434/ | |
selfservice: | |
default_browser_return_url: http://127.0.0.1:4455/ | |
allowed_return_urls: | |
- http://127.0.0.1:4455 | |
methods: | |
password: | |
enabled: true | |
flows: | |
error: | |
ui_url: http://127.0.0.1:4455/error | |
settings: | |
ui_url: http://127.0.0.1:4455/settings | |
privileged_session_max_age: 15m | |
recovery: | |
enabled: true | |
ui_url: http://127.0.0.1:4455/recovery | |
verification: | |
enabled: true | |
ui_url: http://127.0.0.1:4455/verification | |
after: | |
default_browser_return_url: http://127.0.0.1:4455/ | |
logout: | |
after: | |
default_browser_return_url: http://127.0.0.1:4455/login | |
login: | |
ui_url: http://127.0.0.1:4455/login | |
lifespan: 10m | |
registration: | |
lifespan: 10m | |
ui_url: http://127.0.0.1:4455/registration | |
after: | |
password: | |
hooks: | |
- | |
hook: session | |
log: | |
level: debug | |
format: text | |
leak_sensitive_values: true | |
secrets: | |
cookie: | |
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE | |
cipher: | |
- 32-LONG-SECRET-NOT-SECURE-AT-ALL | |
ciphers: | |
algorithm: xchacha20-poly1305 | |
hashers: | |
algorithm: bcrypt | |
bcrypt: | |
cost: 8 | |
identity: | |
default_schema_id: default | |
schemas: | |
- id: default | |
schema: file:///srv/ory/kratos/identity.schema.json | |
courier: | |
smtp: | |
connection_uri: smtps://test:test@mailslurper:1025/?skip_ssl_verify=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment