Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration missing default value #3905

Open
3 of 5 tasks
EsdersGmbH opened this issue Dec 10, 2024 · 0 comments
Open
3 of 5 tasks

Migration missing default value #3905

EsdersGmbH opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something is not working.

Comments

@EsdersGmbH
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

There is a, missing default value in the hydra_client table for the skip_logout_consent field. The default value is NULL instead of 0 like skip_consent. This causes an issue with the .net SDK of Ory Hydra to deserialize this field to an System.Boolean for the HydraOAuth2Client object.
This only applies to client ids, which are created prior Hydra 2.x.

Reproducing the bug

  1. Create a client using Hydra 1.x
  2. Migrate to Hydra 2.x
  3. The field skip_consent should be null in the database
  4. Upgrade .net Ory SDK from 1.x to 2.x and objects which including the HydraOAuth2Client should be always null in C#

Relevant log output

No response

Relevant configuration

No response

Version

2.2.0

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Kubernetes

Additional Context

No response

@EsdersGmbH EsdersGmbH added the bug Something is not working. label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant