Add new self-service auth method for iOS/iPadOS - #36659
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #36659 +/- ##
=======================================
Coverage 65.94% 65.94%
=======================================
Files 2248 2248
Lines 183797 183874 +77
Branches 7676 7676
=======================================
+ Hits 121198 121249 +51
- Misses 51524 51547 +23
- Partials 11075 11078 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cdcme
marked this pull request as draft
December 4, 2025 18:42
cdcme
marked this pull request as ready for review
December 4, 2025 22:10
iansltx
reviewed
Dec 5, 2025
iansltx
approved these changes
Dec 5, 2025
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements #36542. Adds URL/UDID-based authentication for the My Device page on iOS/iPadOS.
Summary
This implements URL-based authentication as a simpler, temporary alternative to certificate-based authentication (#35009).
The device's UUID is embedded in the WebClip URL using
$FLEET_VAR_HOST_UUID. When the cert serial header isn't present, but the device UUID is, Fleet validates that it belongs to an iOS/iPadOS device. Sensitive host data is automatically scrubbed from responses.Details
AuthenticateDeviceByURL()to validate UUID and enforce iOS/iPadOS platform restrictioncheckURLAuthQueryParamto detect?udid=trueAuthnDeviceURLauthentication method to authz packageSecurity considerations
URL-based auth is inherently less secure than certificate auth since anyone with the correct URL can access the device page.
Mitigations:
Testing
AuthenticateDeviceByURL()covering success, not found, and wrong platformcases