Skip to content

feat: add required field support to InputField and update UI components to respect optionality#391

Merged
manojbajaj95 merged 1 commit into
mainfrom
bugfix/optional-dcr-scopes
Jun 9, 2026
Merged

feat: add required field support to InputField and update UI components to respect optionality#391
manojbajaj95 merged 1 commit into
mainfrom
bugfix/optional-dcr-scopes

Conversation

@ankitranjan7

Copy link
Copy Markdown
Collaborator

Description

Made OAuth session input fields support an explicit required flag. The scopes field is now marked optional, and the dashboard form respects that flag instead of forcing every session input to be required.

Motivation and Context

notion_dcr uses dynamic client registration and has no default scopes. The UI was still rendering the empty scopes field as required, which prevented the Continue button from submitting the form. Making scopes optional lets DCR providers without scopes proceed into the login flow.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@ankitranjan7 ankitranjan7 requested a review from manojbajaj95 June 8, 2026 19:31
@manojbajaj95 manojbajaj95 merged commit 19a40fe into main Jun 9, 2026
6 checks passed
@manojbajaj95 manojbajaj95 deleted the bugfix/optional-dcr-scopes branch June 9, 2026 03:03
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