Skip to content

Conversation

HarshMN2345
Copy link
Member

@HarshMN2345 HarshMN2345 commented Jul 23, 2025

What does this PR do?

Updates all OAuth provider modals so the "Update" button is enabled as long as any change is made, regardless of which fields are filled.
Ensures the UI matches the "optional" label and backend/API behavior for all OAuth providers.
Improves user experience by removing unnecessary required-field enforcement in the UI.
Keeps the "Enabled" toggle as a control for activating or deactivating the provider for authentication, but does not restrict editing of other fields.
UI changes for Microsoft and Okta modals
Microsoft: Ensures the modal title always displays correctly and matches the style of other provider modals.
Okta: Adds a proper modal title and sets the modal width to be consistent with other OAuth modals.

Test Plan

image image

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

yes

@HarshMN2345 HarshMN2345 self-assigned this Jul 23, 2025
@HarshMN2345 HarshMN2345 requested a review from ItzNotABug July 23, 2025 11:33
@HarshMN2345 HarshMN2345 requested a review from stnguyen90 July 24, 2025 12:07
@ItzNotABug ItzNotABug merged commit 05a4ae1 into appwrite:main Aug 1, 2025
2 checks passed
@HarshMN2345 HarshMN2345 deleted the fix-SER-161-oauth--not-respecting-optional branch August 1, 2025 19:19
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