Skip to content

Instantly share code, notes, and snippets.

@Casperhr
Created January 31, 2025 10:16
Show Gist options
  • Select an option

  • Save Casperhr/491ccb05d2f10163678e3bfe13283918 to your computer and use it in GitHub Desktop.

Select an option

Save Casperhr/491ccb05d2f10163678e3bfe13283918 to your computer and use it in GitHub Desktop.
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice: map[allowed_return_urls:[http://127.0.0.1:4455] default_browser_return_url:http://127.0.0.1:4455/portal flows:map[error:map[ui_url:http://127.0.0.1:4455/identity/error] login:map[after:map[code:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook]]] password:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook]]]] lifespan:1h ui_url:http://127.0.0.1:4455/identity/auth/login] recovery:map[after:map[hooks:[map[hook:revoke_active_sessions]]] enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/identity/recovery use:code] registration:map[after:map[code:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook] map[hook:session]]] default_browser_return_url:http://127.0.0.1:4455/d/user-created oidc:map[hooks:[map[hook:session]]] password:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook] map[hook:session]]]] enable_legacy_one_step:true enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/identity/auth/registration] settings:map[lifespan:1h privileged_session_max_age:1h required_aal:aal1 ui_url:http://127.0.0.1:4455/identity/settings] verification:map[enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/identity/verify use:code]] methods:map[code:map[config:map[lifespan:1h max_attempts:3 sms_spam_protection:map[enabled:false max_numbers_range:100 max_single_number:50]] enabled:true external_sms_verify:map[enabled:true verification_check_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.check.jsonnet method:POST url:http://notification:4477/api/verifications/check] verification_start_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.start.jsonnet method:POST url:http://notification:4477/api/verifications]] passwordless_enabled:true] link:map[config:map[lifespan:1h] enabled:true] lookup_secret:map[enabled:false] oidc:map[config:map[providers:[map[apple_private_key:eyJraWQiOiJOMlNTQjRHWTc3IiwiYWxnIjoiRVMyNTYifQ.eyJpc3MiOiJNTTdaOUZKRDZVIiwiaWF0IjoxNjA0OTA5NjQ0LCJleHAiOjE2MjA0NjE2NDQsImF1ZCI6Imh0dHBzOi8vYXBwbGVpZC5hcHBsZS5jb20iLCJzdWIiOiJjb20ubW9udGEuYXBwLnNpZ25pbiJ9.3Mp4lSXhj-jhULp3MtpzK4-OV8uyUS3zGvRVx-A17Z-GroYAkeGLKKL3ayOqS0VKJ_JRuHalh81pOOz38CG4-A apple_private_key_id:JM3NMYG52D apple_team_id:MM7Z9FJD6U client_id:com.monta.app.development.signin id:apple mapper_url:file://etc/config/kratos/oidc.apple.jsonnet provider:apple scope:[email]] map[client_id:7247e9f2-baab-4410-87ef-7179a3cf8d1e client_secret:4._g26.MRA_9afr3souCWjNFY0KP08uRBA id:microsoft mapper_url:file://etc/config/kratos/oidc.microsoft.jsonnet microsoft_tenant:common provider:microsoft scope:[openid User.Read email profile] subject_source:me] map[client_id:18481859594-ismq9tds9jpnb8tm844hcsjp8h2hmaa1.apps.googleusercontent.com client_secret:RSpCkTEUpoXz_ImFVtVSlc3j id:google mapper_url:file://etc/config/kratos/oidc.google.jsonnet provider:google scope:[profile email]]]] enabled:true] password:map[config:map[haveibeenpwned_enabled:true haveibeenpwned_host:api.pwnedpasswords.com identifier_similarity_check_enabled:true ignore_network_errors:true max_breaches:0 min_password_length:8] enabled:true] pin:map[enabled:true] profile:map[enabled:true] saml:map[config:map[providers:[map[attributes_map:map[email:email id:uid] id:corp1 idp_information:map[idp_metadata_url:http://saml:8080/simplesaml/saml2/idp/metadata.php] label:CORP1 mapper_url:file://etc/config/kratos/saml.jsonnet private_key_path:file://etc/config/kratos/saml.key provider:generic public_cert_path:file://etc/config/kratos/saml.crt]]] enabled:true] totp:map[enabled:false] webauthn:map[enabled:false]]]
2025-01-31 05:15:18 ^-- validation failed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.flows.registration: map[after:map[code:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook] map[hook:session]]] default_browser_return_url:http://127.0.0.1:4455/d/user-created oidc:map[hooks:[map[hook:session]]] password:map[hooks:[map[config:map[auth:map[config:map[in:header name:Authorization value:Bearer 5E3E3BA2-BFE1-48E8-B11C-65CC3711951F] type:api_key] body:base64://ZnVuY3Rpb24oY3R4KQogICAgICAgICAgICAgICAgaWYgImVtYWlsIiBpbiBjdHguaWRlbnRpdHkudHJhaXRzIHRoZW4KICAgICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIG1ldGhvZDogInBhc3N3b3JkIiwKICAgICAgICAgICAgICAgICAgICBlbWFpbDogY3R4LmlkZW50aXR5LnRyYWl0cy5lbWFpbCwKICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgZWxzZQogICAgICAgICAgICAgICAgICBlcnJvciAiY2FuY2VsIg== method:POST response:map[parse:true] url:http://identity:8080/identity/kratos-hooks/can-use-login-method] hook:web_hook] map[hook:session]]]] enable_legacy_one_step:true enabled:true lifespan:1h ui_url:http://127.0.0.1:4455/identity/auth/registration]
2025-01-31 05:15:18 ^-- additionalProperties "enable_legacy_one_step" not allowed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.methods.code: map[config:map[lifespan:1h max_attempts:3 sms_spam_protection:map[enabled:false max_numbers_range:100 max_single_number:50]] enabled:true external_sms_verify:map[enabled:true verification_check_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.check.jsonnet method:POST url:http://notification:4477/api/verifications/check] verification_start_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.start.jsonnet method:POST url:http://notification:4477/api/verifications]] passwordless_enabled:true]
2025-01-31 05:15:18 ^-- validation failed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.methods.code.external_sms_verify: map[enabled:true verification_check_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.check.jsonnet method:POST url:http://notification:4477/api/verifications/check] verification_start_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.start.jsonnet method:POST url:http://notification:4477/api/verifications]]
2025-01-31 05:15:18 ^-- validation failed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.methods.code.external_sms_verify.verification_start_request: map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.start.jsonnet method:POST url:http://notification:4477/api/verifications]
2025-01-31 05:15:18 ^-- additionalProperties "body" not allowed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.methods.code.external_sms_verify.verification_check_request: map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.check.jsonnet method:POST url:http://notification:4477/api/verifications/check]
2025-01-31 05:15:18 ^-- additionalProperties "body" not allowed
2025-01-31 05:15:18
2025-01-31 05:15:18 The configuration contains values or keys which are invalid:
2025-01-31 05:15:18 selfservice.methods.code: map[config:map[lifespan:1h max_attempts:3 sms_spam_protection:map[enabled:false max_numbers_range:100 max_single_number:50]] enabled:true external_sms_verify:map[enabled:true verification_check_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.check.jsonnet method:POST url:http://notification:4477/api/verifications/check] verification_start_request:map[auth:map[config:map[in:header name:Authorization value:...] type:api_key] body:file:///etc/config/kratos/code.verification.start.jsonnet method:POST url:http://notification:4477/api/verifications]] passwordless_enabled:true]
2025-01-31 05:15:18 ^-- additionalProperties "passwordless_enabled" not allowed
2025-01-31 05:15:18
2025-01-31 05:15:18 time=2025-01-31T10:15:18Z level=error msg=Unable to instantiate configuration. audience=application error=map[message:I[#/selfservice] S[#/properties/selfservice] validation failed
2025-01-31 05:15:18 I[#/selfservice/flows/registration] S[#/properties/selfservice/properties/flows/properties/registration/additionalProperties] additionalProperties "enable_legacy_one_step" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_start_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_start_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_check_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_check_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code/additionalProperties] additionalProperties "passwordless_enabled" not allowed] service_name=Ory Kratos service_version=
2025-01-31 05:15:18 Error: I[#/selfservice] S[#/properties/selfservice] validation failed
2025-01-31 05:15:18 I[#/selfservice/flows/registration] S[#/properties/selfservice/properties/flows/properties/registration/additionalProperties] additionalProperties "enable_legacy_one_step" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_start_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_start_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_check_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_check_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code/additionalProperties] additionalProperties "passwordless_enabled" not allowed
2025-01-31 05:15:18 Usage:
2025-01-31 05:15:18 kratos serve [flags]
2025-01-31 05:15:18
2025-01-31 05:15:18 Flags:
2025-01-31 05:15:18 -c, --config strings Path to one or more .json, .yaml, .yml, .toml config files. Values are loaded in the order provided, meaning that the last config file overwrites values from the previous config file.
2025-01-31 05:15:18 --dev Disables critical security features to make development easier
2025-01-31 05:15:18 -h, --help help for serve
2025-01-31 05:15:18 --sqa-opt-out Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa
2025-01-31 05:15:18 --watch-courier Run the message courier as a background task, to simplify single-instance setup
2025-01-31 05:15:18
2025-01-31 05:15:18 I[#/selfservice] S[#/properties/selfservice] validation failed
2025-01-31 05:15:18 I[#/selfservice/flows/registration] S[#/properties/selfservice/properties/flows/properties/registration/additionalProperties] additionalProperties "enable_legacy_one_step" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify] validation failed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_start_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_start_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code/external_sms_verify/verification_check_request] S[#/properties/selfservice/properties/methods/properties/code/properties/external_sms_verify/properties/verification_check_request/additionalProperties] additionalProperties "body" not allowed
2025-01-31 05:15:18 I[#/selfservice/methods/code] S[#/properties/selfservice/properties/methods/properties/code/additionalProperties] additionalProperties "passwordless_enabled" not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment