diff --git a/apps/meteor/server/main.ts b/apps/meteor/server/main.ts index 5579261911f5..9a7c4fb1043b 100644 --- a/apps/meteor/server/main.ts +++ b/apps/meteor/server/main.ts @@ -75,6 +75,7 @@ import './publications/spotlight'; import './publications/subscription'; import './routes/avatar'; import './routes/health'; +import './routes/iframeLogin'; import './routes/i18n'; import './routes/timesync'; import './routes/userDataDownload'; diff --git a/apps/meteor/server/routes/iframeLogin.ts b/apps/meteor/server/routes/iframeLogin.ts new file mode 100644 index 000000000000..8abf8941862e --- /dev/null +++ b/apps/meteor/server/routes/iframeLogin.ts @@ -0,0 +1,50 @@ +import { randomUUID } from 'crypto'; + +import { WebApp } from 'meteor/webapp'; + +const response = (nonce: string) => ` + + +
+