From f18add7926e682399178060b6775b2f9649e2f08 Mon Sep 17 00:00:00 2001 From: Andrey Kizimenko <87822796+AndreyKizimenko@users.noreply.github.com> Date: Mon, 4 Aug 2025 16:01:13 -0500 Subject: [PATCH] Enabling .well-known resource to test #27390 (#31582) **Test in question:** - [ ] Make sure that if the user hosts service discovery JSON (.well-known resource) on their own, on domain used for work email and JSON is proper format, that BYOD enrollment still works. https://github.com/fleetdm/fleet/issues/27390 More info in this thread: https://fleetdm.slack.com/archives/C03C41L5YEL/p1753819470745979 Will disable it back once I'm done testing --- website/config/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/config/routes.js b/website/config/routes.js index 711270ff61..9a1fc12460 100644 --- a/website/config/routes.js +++ b/website/config/routes.js @@ -1057,5 +1057,5 @@ module.exports.routes = { // https://developer.apple.com/documentation/devicemanagement/implementing-the-simple-authentication-user-enrollment-flow#Send-the-well-known-request // // TODO(BMAA): Uncomment this when we are ready to dogfood the Apple account-driven enrollment flow. - // 'GET /.well-known/com.apple.remotemanagement': (req, res)=>{ return res.json({'Servers':[{'Version':'mdm-byod', 'BaseURL':'https://dogfood.fleetdm.com/api/mdm/apple/account_driven_enroll'}]});}, + 'GET /.well-known/com.apple.remotemanagement': (req, res)=>{ return res.json({'Servers':[{'Version':'mdm-byod', 'BaseURL':'https://andrey.ngrok.app/api/mdm/apple/account_driven_enroll'}]});}, };