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

fix(oidc): database class variable is not updated when oidc setting is changed #4581

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

harmbrugge
Copy link
Member

What are the main changes you did

Change the OIDC variable in the database class, when the isOidcEnabled setting is changed.

Copy link
Contributor

@connoratrug connoratrug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add test ( it should fail before the fix , and succeed after fix is applied )

Copy link
Member

@mswertz mswertz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, a cast from Boolean to boolean.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@connoratrug
Copy link
Contributor

ah, a cast from Boolean to boolean.

no the setter was missing

@harmbrugge harmbrugge dismissed connoratrug’s stale review December 20, 2024 13:37

It's not so easy to test since it can only be set to true when the env properties or correctly set

@harmbrugge harmbrugge merged commit 740d554 into master Dec 20, 2024
6 of 7 checks passed
@harmbrugge harmbrugge deleted the fix/oidc-db-setting branch December 20, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants