Preflight checklist
Describe the bug
Hello everyone, this is my first time trying Kratos and I ran into a problem that I couldn't solve on my own; I spoke with Vincent (@vinckr) on Slack who advised me to open this issue. In fact, I followed the quickstart instructions reported in the documentation (https://www.ory.sh/docs/kratos/quickstart):
cd Desktop
git clone https://github.com/ory/kratos.git
cd kratos
git checkout v0.13.0
docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
Upon opening the welcome page:
http://127.0.0.1:4455/
All other pages are not accessible, for example:
http://127.0.0.1:4433/self-service/login/browser?aal=&refresh=&return_to=
http://127.0.0.1:4433/self-service/registration/browser?return_to=
http://127.0.0.1:4433/self-service/verification/browser?return_to=
In the terminal, I have a long list of errors similar to these:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.hook: show_verification_ui
kratos-kratos-1| ^-- value must be "session"
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1: map[hook:show_verification_ui]
kratos-kratos-1| ^-- doesn't validate with "#/definitions/selfServiceWebHook"
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1: map[hook:show_verification_ui]
kratos-kratos-1| ^-- validation failed
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.config: <nil>
kratos-kratos-1| ^-- one or more required properties are missing
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.hook: show_verification_ui
kratos-kratos-1| ^-- value must be "web_hook"
kratos-kratos-1|
kratos-kratos-1| time=2023-06-05T09:58:01Z level=error msg=Unable to instantiate configuration. func=github.com/ory/kratos/driver.NewWithoutInit file=/project/driver/factory.go:43 audience=application error=map[message:I[#/selfservice/flows/registration/after] S[#/properties/selfservice/properties/flows/properties/registration/properties/after/$ref] doesn't validate with "#/definitions/selfServiceAfterRegistration"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password] S[#/definitions/selfServiceAfterRegistration/properties/password/$ref] doesn't validate with "#/definitions/selfServiceAfterRegistrationMethod"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf] anyOf failed
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf/0/$ref] doesn't validate with "#/definitions/selfServiceSessionIssuerHook"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1/hook] S[#/definitions/selfServiceSessionIssuerHook/properties/hook/const] value must be "session"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf/1/$ref] doesn't validate with "#/definitions/selfServiceWebHook"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceWebHook] validation failed
I'm trying to execute the procedure with Docker Desktop on a Mac M1 with MacOS Ventura, the Kratos version is 0.13.0.
Reproducing the bug
cd Desktop
git clone https://github.com/ory/kratos.git
cd kratos
git checkout v0.13.0
docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
Relevant log output
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.hook: show_verification_ui
kratos-kratos-1| ^-- value must be "session"
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1: map[hook:show_verification_ui]
kratos-kratos-1| ^-- doesn't validate with "#/definitions/selfServiceWebHook"
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1: map[hook:show_verification_ui]
kratos-kratos-1| ^-- validation failed
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.config: <nil>
kratos-kratos-1| ^-- one or more required properties are missing
kratos-kratos-1|
kratos-kratos-1| The configuration contains values or keys which are invalid:
kratos-kratos-1| selfservice.flows.registration.after.password.hooks.1.hook: show_verification_ui
kratos-kratos-1| ^-- value must be "web_hook"
kratos-kratos-1|
kratos-kratos-1| time=2023-06-05T09:58:01Z level=error msg=Unable to instantiate configuration. func=github.com/ory/kratos/driver.NewWithoutInit file=/project/driver/factory.go:43 audience=application error=map[message:I[#/selfservice/flows/registration/after] S[#/properties/selfservice/properties/flows/properties/registration/properties/after/$ref] doesn't validate with "#/definitions/selfServiceAfterRegistration"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password] S[#/definitions/selfServiceAfterRegistration/properties/password/$ref] doesn't validate with "#/definitions/selfServiceAfterRegistrationMethod"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf] anyOf failed
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf/0/$ref] doesn't validate with "#/definitions/selfServiceSessionIssuerHook"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1/hook] S[#/definitions/selfServiceSessionIssuerHook/properties/hook/const] value must be "session"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceAfterRegistrationMethod/properties/hooks/items/anyOf/1/$ref] doesn't validate with "#/definitions/selfServiceWebHook"
kratos-kratos-1| I[#/selfservice/flows/registration/after/password/hooks/1] S[#/definitions/selfServiceWebHook] validation failed
Relevant configuration
No response
Version
0.13.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response
Preflight checklist
Describe the bug
Hello everyone, this is my first time trying Kratos and I ran into a problem that I couldn't solve on my own; I spoke with Vincent (@vinckr) on Slack who advised me to open this issue. In fact, I followed the quickstart instructions reported in the documentation (https://www.ory.sh/docs/kratos/quickstart):
Upon opening the welcome page:
http://127.0.0.1:4455/
All other pages are not accessible, for example:
http://127.0.0.1:4433/self-service/login/browser?aal=&refresh=&return_to=
http://127.0.0.1:4433/self-service/registration/browser?return_to=
http://127.0.0.1:4433/self-service/verification/browser?return_to=
In the terminal, I have a long list of errors similar to these:
I'm trying to execute the procedure with Docker Desktop on a Mac M1 with MacOS Ventura, the Kratos version is 0.13.0.
Reproducing the bug
cd Desktop
git clone https://github.com/ory/kratos.git
cd kratos
git checkout v0.13.0
docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
Relevant log output
Relevant configuration
No response
Version
0.13.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response