diff --git a/changes/19185-dep-deviceinfo-mdm-idp b/changes/19185-dep-deviceinfo-mdm-idp
deleted file mode 100644
index 4c8406184d..0000000000
--- a/changes/19185-dep-deviceinfo-mdm-idp
+++ /dev/null
@@ -1,4 +0,0 @@
-- Fixed bug where MDM devices would fail to renew enrollment profiles if applicable end user authentication
- settings changed after the device was enrolled.
-- Improved device user account creation during MDM IdP enrollment flow by removing enrollment
- reference from MDM server url in Fleet-generated enrollment profiles.
diff --git a/cmd/fleet/serve.go b/cmd/fleet/serve.go
index 27d5c52641..5c8a3db664 100644
--- a/cmd/fleet/serve.go
+++ b/cmd/fleet/serve.go
@@ -942,8 +942,6 @@ the way that the Fleet server works.
"get_frontend",
service.ServeFrontend(config.Server.URLPrefix, config.Server.SandboxEnabled, httpLogger),
)
- frontendHandler = service.WithDEPWebviewRedirect(svc, logger, frontendHandler, config.Server.URLPrefix)
-
apiHandler = service.MakeHandler(svc, config, httpLogger, limiterStore)
setupRequired, err := svc.SetupRequired(baseCtx)
diff --git a/frontend/pages/MDMAppleSSOCallbackPage/MDMAppleSSOCallbackPage.tsx b/frontend/pages/MDMAppleSSOCallbackPage/MDMAppleSSOCallbackPage.tsx
index 296ece9ff8..8aa14b207d 100644
--- a/frontend/pages/MDMAppleSSOCallbackPage/MDMAppleSSOCallbackPage.tsx
+++ b/frontend/pages/MDMAppleSSOCallbackPage/MDMAppleSSOCallbackPage.tsx
@@ -29,8 +29,6 @@ const EnrollmentGate = ({
}: IEnrollmentGateProps) => {
const [showEULA, setShowEULA] = useState(Boolean(eulaToken));
- const dep_device_info = localStorage.getItem("dep_device_info") || "";
-
if (!profileToken || error) {
return ;
}
@@ -57,11 +55,10 @@ const EnrollmentGate = ({
return (
);
};
diff --git a/frontend/pages/MDMAppleSSOPage/MDMAppleSSOPage.tsx b/frontend/pages/MDMAppleSSOPage/MDMAppleSSOPage.tsx
index 5fbde4090e..c0920bb663 100644
--- a/frontend/pages/MDMAppleSSOPage/MDMAppleSSOPage.tsx
+++ b/frontend/pages/MDMAppleSSOPage/MDMAppleSSOPage.tsx
@@ -1,9 +1,8 @@
import React from "react";
import { useQuery } from "react-query";
import { AxiosError } from "axios";
-import { WithRouterProps } from "react-router";
-import mdmAPI, { IMDMSSOParams } from "services/entities/mdm";
+import mdmAPI from "services/entities/mdm";
import SSOError from "components/MDM/SSOError";
import Spinner from "components/Spinner/Spinner";
@@ -11,15 +10,10 @@ import { IMdmSSOReponse } from "interfaces/mdm";
const baseClass = "mdm-apple-sso-page";
-const DEPSSOLoginPage = ({
- location: { query },
-}: WithRouterProps