Skip to content

Conversation

armcknight
Copy link
Member

Allow for custom redirect URI schemas to allow the mobile app to respond to a non-HTTP redirect for its auth. See https://www.notion.so/sentry/Seer-Mobile-Auth-2628b10e4b5d80e589dcdbb2e03782d5.

@armcknight armcknight requested a review from a team as a code owner October 8, 2025 19:48
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 8, 2025
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/sentry/api/endpoints/api_application_details.py 76.47% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #101197      +/-   ##
===========================================
+ Coverage   81.11%    81.15%   +0.04%     
===========================================
  Files        8595      8624      +29     
  Lines      380872    382939    +2067     
  Branches    23899     23899              
===========================================
+ Hits       308954    310785    +1831     
- Misses      71556     71792     +236     
  Partials      362       362              

return data

if data == "":
self.fail("invalid")
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: URL Field Ignores Blank Allowance

The CustomSchemeURLField unconditionally rejects empty strings, even when allow_blank=True is configured. This bypasses the intended allow_blank behavior, causing validation to fail unexpectedly for empty inputs.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant