Skip to content

docs: CORS for app publishers' origins on the item-app group (#312) - #341

Merged
spaenleh merged 1 commit into
mainfrom
312-close-map
Dec 4, 2026
Merged

spaenleh merged 1 commit into
mainfrom
312-close-map

Conversation

@spaenleh

@spaenleh spaenleh commented Dec 4, 2026

Copy link
Copy Markdown
Member

Part of #312: clears the last open question on the map.

Summary

Apps hosted on other origins need nothing beyond what core already does. The item-app group reproduces core's CORS rule for /api/app-items/*:

 item-app (Opener)
   builds the App Token plug
+  CORS: CORS_ORIGIN_REGEX + approved publishers' origins (`publishers` table)
+  app-data and app-settings inherit it

Evidence

Core src/fastify.ts:50 (regex origins, with credentials) and src/services/item/plugins/app/app.controller.ts:37 (concatenates getAllValidAppOrigins).

Merge Danger

Door: two-way

Blast Radius: none

Docs only.

@spaenleh
spaenleh merged commit 47c79b9 into main Dec 4, 2026
2 checks passed
@spaenleh
spaenleh deleted the 312-close-map branch December 4, 2026 10:50
@graasper graasper mentioned this pull request Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant