Skip to content

AP-23709: Fix deprecated box auth settings using CredentialsFlowVarChoicesProvider#43

Open
jannik-loescher-knime wants to merge 1 commit intomasterfrom
fix/remove-crednetials-provider-from-box-authenticator
Open

AP-23709: Fix deprecated box auth settings using CredentialsFlowVarChoicesProvider#43
jannik-loescher-knime wants to merge 1 commit intomasterfrom
fix/remove-crednetials-provider-from-box-authenticator

Conversation

@jannik-loescher-knime
Copy link
Contributor

AP-23709 (Support username and password fields instead of flow variables in OAuth2 Authenticator nodes)

@jannik-loescher-knime jannik-loescher-knime requested a review from a team as a code owner March 24, 2026 16:54
@jannik-loescher-knime jannik-loescher-knime requested review from Copilot and knime-ghub-bot and removed request for a team March 24, 2026 16:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the deprecated Box Authenticator node settings to use credential (username/password-style) fields instead of a credentials flow variable, aligning with the updated OAuth2 authenticator dialog behavior.

Changes:

  • Replace the Box app “credentials flow variable” setting with a LegacyCredentials-backed credentials widget plus migration/validation.
  • Add the required @ValueReference wiring so custom validation can reference the BoxAppSettings parameter.
  • Update the dialog snapshot to reflect the new schema/model structure for the credentials widget.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
org.knime.ext.box.authenticator/src-deprecated/org/knime/ext/box/authenticator/node/BoxAuthenticatorSettings.java Adds @ValueReference(BoxAppSettings.Ref.class) to enable settings-level validation referencing.
org.knime.ext.box.authenticator/src-deprecated/org/knime/ext/box/authenticator/node/BoxAppSettings.java Migrates from flow-variable-based credentials selection to a credentials widget with migration + custom validation hook.
org.knime.ext.box.authenticator.tests/files/test_snapshots/org.knime.ext.box.authenticator.node.BoxAuthenticatorSettingsTest.snap Updates snapshot for the new secret/legacyCredentials schema and update triggers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…oicesProvider

AP-23709 (Support username and password fields instead of flow variables in OAuth2 Authenticator nodes)
@jannik-loescher-knime jannik-loescher-knime force-pushed the fix/remove-crednetials-provider-from-box-authenticator branch from 023589d to 1fa1f98 Compare March 24, 2026 17:08
@sonarqubecloud
Copy link

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.

2 participants