ory / kratos

The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
11.23k stars 961 forks source link

Docker: additionalProperties "use_continue_with_transitions" not allowed #3648

Closed abdulhadiayaz closed 11 months ago

abdulhadiayaz commented 11 months ago

Preflight checklist

Ory Network Project

No response

Describe the bug

I have been using ORY Kratos successfully for a couple of weeks, but today, after pulling the latest changes from the origin and attempting to run ORY Kratos on Docker, I encountered an issue preventing successful execution. The error identified in the logs is as follows:

The configuration contains values or keys which are invalid: feature_flags: map[cacheable_sessions:false use_continue_with_transitions:true] additionalProperties "use_continue_with_transitions" not allowed

To resolve this issue, I had to remove the following configuration block from contrib/quickstart/kratos/email-password/kratos.yml:

 feature_flags:
   use_continue_with_transitions: true

from contrib/quickstart/kratos/email-password/kratos.yml

This modification allowed me to overcome the problem and successfully run ORY Kratos on Docker.

Best regards,

Reproducing the bug

1- Pull latest code 2- Run docker compose

Kratos crashes and keeps on restarting forever.

Relevant log output

`The configuration contains values or keys which are invalid: feature_flags: map[cacheable_sessions:false use_continue_with_transitions:true] additionalProperties "use_continue_with_transitions" not allowed`

Relevant configuration

feature_flags:
  use_continue_with_transitions: true

Version

master branch

On which operating system are you observing this issue?

macOS

In which environment are you deploying?

Docker

Additional Context

No response

jonas-jonas commented 11 months ago

Please checkout the v1.0 tag:

$ git checkout v1.0.0
nicmr commented 7 months ago

Hi, this error message also occurs on the v1.1.0 release, which is recommended to use in the kratos quickstart.