Repository navigation
feat(oauth): Add UI for creating and viewing public OAuth clients - #106654
Merged
Merged
Conversation
- Add isPublic field to API application serializer - Update API endpoint to accept isPublic parameter when creating applications - Add client type selection modal when creating new applications - Show 'Public Client' or 'Confidential Client' tag on application details - Hide client secret section for public clients - Add info alert explaining public client behavior - Update frontend and backend tests
Contributor
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
- Change Tag prop from 'type' to 'variant' (and 'default' to 'muted') - Change Alert prop from 'type' to 'variant' - Fix CreateApplicationModalProps to not extend full ModalRenderProps
…ecret on public clients - Replace custom ButtonBar styled component with existing ButtonBar from sentry/components - Add backend check to return 400 error when attempting to rotate secret for public clients - Add test to verify public clients cannot rotate secrets
- Move client type tag to subtitle in SettingsPageHeader for proper heading accessibility - Update acceptance test to handle new client type selection modal
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Address PR review comment - add isPublic: false to mock responses in 'renders basic details for confidential client' and 'handles client secret rotation' tests to match the ApiApplication type definition.
betegon
approved these changes
Jan 21, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds frontend UI support for creating and viewing public OAuth clients, building on the backend support added in #106451.
Changes
Backend (
api_applications.py):isPublicparameter when creating new applicationsisPublic=True, create application withclient_secret=NoneSerializer:
is_publicfield toApiApplicationSerializeroutputFrontend UI:
Screenshots
Client type selection when creating new application
Public client details page showing no client secret
Test Plan
isPublicparameter handlingDepends on #106451 (merged)
Closes #99002