Skip to content

Add Origin header to LocalContexts API calls#11643

Merged
ofahimIQSS merged 3 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:TKLabels
Sep 9, 2025
Merged

Add Origin header to LocalContexts API calls#11643
ofahimIQSS merged 3 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:TKLabels

Conversation

@qqmyers
Copy link
Copy Markdown
Member

@qqmyers qqmyers commented Jul 16, 2025

What this PR does / why we need it: Dataverse currently has functionality to make calls the the localcontextshub server to support connects between Dataverse datasets and LC projects (see https://github.com/gdcc/dataverse-external-vocab-support/tree/main/packages/local_contexts). Per LC request (email between @qqmyers and Ashley R at LC), this PR adds the Dataverse instance URL as an Origin header on such requests. The intent is to support LC in restricting the use of specific API keys to specific Dataverse instances.

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this: Coordinate with LC to verify the header is sent when tested against their sandbox.localcontextshub.org server. (The code on their end is still in development and expected in the next few months.)

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 23.18% (-0.002%) from 23.182%
when pulling ee70c66 on GlobalDataverseCommunityConsortium:TKLabels
into 74b3bc7 on IQSS:develop.

@qqmyers qqmyers added this to the 6.8 milestone Jul 25, 2025
@cmbz cmbz added FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) and removed FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) labels Aug 16, 2025
@cmbz cmbz added the Size: 3 A percentage of a sprint. 2.1 hours. label Aug 27, 2025
@cmbz cmbz moved this to SPRINT READY in IQSS Dataverse Project Aug 27, 2025
@cmbz cmbz moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Aug 27, 2025
@cmbz cmbz moved this from This Sprint 🏃‍♀️ 🏃 to Ready for Review ⏩ in IQSS Dataverse Project Aug 27, 2025
@cmbz cmbz added the FY26 Sprint 5 FY26 Sprint 5 (2025-08-27 - 2025-09-10) label Aug 28, 2025
@stevenwinship stevenwinship self-assigned this Sep 2, 2025
@stevenwinship stevenwinship moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Sep 2, 2025
@github-project-automation github-project-automation Bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Sep 2, 2025
@stevenwinship stevenwinship removed their assignment Sep 2, 2025
@ofahimIQSS ofahimIQSS self-assigned this Sep 4, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Sep 4, 2025
@ofahimIQSS
Copy link
Copy Markdown
Contributor

looks good from my end - merging PR

@ofahimIQSS ofahimIQSS merged commit 18a1fc0 into IQSS:develop Sep 9, 2025
15 checks passed
@github-project-automation github-project-automation Bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Sep 9, 2025
@ofahimIQSS ofahimIQSS removed their assignment Sep 9, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 5 FY26 Sprint 5 (2025-08-27 - 2025-09-10) Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

6 participants