Conversation
…from your backend Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for permitio-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
omer9564
approved these changes
Nov 11, 2026
omer9564
left a comment
Contributor
There was a problem hiding this comment.
The content is correct. I checked both claims against the code, and the new row's link reaches the new note. One thing to fix before merge: this is a public repo, and the PR's title, branch and description carry internal details.
Before merge (public repo):
- The title starts with an internal ticket key. A squash merge would put it in the public
masterhistory. Please drop the prefix so the title is onlydocs(nexus-pdp): Nexus PDP sends no CORS headers; call it from your backend. - The branch name carries the same key. A neutral name such as
ziv/nexus-no-corsavoids it. Renaming the branch is optional once the title is fixed, since the branch is deleted at merge. - The description names a private repository and its internals (its crate names and a PR number there), and opens with the ticket key. It's enough to say that Nexus PDP adds no CORS layer on any route, and that the container PDP gets its CORS middleware from OPAL (
opal_common, which is open source). - The integration bot has already posted its link-back comment here. Whether to delete it is the maintainers' call.
Checked:
- The container PDP allows any origin by default. The PDP builds on
OpalClient, whose app setup callsopal_common.middleware.configure_middleware. That adds Starlette'sCORSMiddlewarewithALLOWED_ORIGINS(default["*"]), credentials allowed, and all methods and headers. - Nexus PDP sends no CORS headers. There's no CORS layer or
Access-Control-Allow-*header anywhere in Nexus PDP's source, either on its main branch or on the open branches that touch it. - The text: "Nexus PDP API key" is the term the page already uses (line 16). The
#corsanchor matches the row's link. The advice to move direct browser calls to a backend before switching is the right one, given the container PDP's default.
No blocking issue in the content.
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.
What this does
The Nexus PDP feature parity page now says that Nexus PDP sends no cross-origin resource sharing (CORS) headers.
opal_commonmiddleware adds Starlette'sCORSMiddlewarewithALLOWED_ORIGINSdefaulting to["*"]. A frontend that calls the container PDP directly today should move those calls to its backend before switching.🤖 Generated with Claude Code