Skip to content

Fix remote E2E token endpoint authentication#5681

Open
mikaelweave wants to merge 3 commits into
mainfrom
personal/mikaelw/fix-paas-auth-e2e-test-token-endpoint
Open

Fix remote E2E token endpoint authentication#5681
mikaelweave wants to merge 3 commits into
mainfrom
personal/mikaelw/fix-paas-auth-e2e-test-token-endpoint

Conversation

@mikaelweave

@mikaelweave mikaelweave commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Description

Uses the in-process server's configured authority for standard client-credential tokens and requires remote E2E tests to provide TestTokenEndpoint. SMART metadata endpoints remain available to dedicated callers.

Related issues

AB#198445

Testing

dotnet test test/Microsoft.Health.Fhir.R4.Tests.E2E/Microsoft.Health.Fhir.R4.Tests.E2E.csproj -f net10.0 --no-restore -- --filter "FullyQualifiedName~TestFhirServerAuthenticationTests"

FHIR Team Checklist

  • Update the title of the PR to be succinct and less than 65 characters
  • Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
  • Tag the PR with the type of update: Bug, Build, Dependencies, Enhancement, New-Feature or Documentation
  • Tag the PR with Open source, Azure API for FHIR (CosmosDB or common code) or Azure Healthcare APIs (SQL or common code) to specify where this change is intended to be released.
  • Tag the PR with Schema Version backward compatible or Schema Version backward incompatible or Schema Version unchanged if this adds or updates Sql script which is/is not backward compatible with the code.
  • When changing or adding behavior, if your code modifies the system design or changes design assumptions, please create and include an ADR.
  • CI is green before merge Build Status
  • Review squash-merge requirements

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

@mikaelweave
mikaelweave requested a review from a team as a code owner July 16, 2026 01:19
@mikaelweave
mikaelweave force-pushed the personal/mikaelw/fix-paas-auth-e2e-test-token-endpoint branch from c742da8 to 351ede4 Compare July 16, 2026 02:05
@codecov-commenter

codecov-commenter commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.66%. Comparing base (318be27) to head (1363f53).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5681      +/-   ##
==========================================
+ Coverage   77.51%   77.66%   +0.15%     
==========================================
  Files        1005     1005              
  Lines       36943    36958      +15     
  Branches     5601     5607       +6     
==========================================
+ Hits        28635    28704      +69     
+ Misses       6948     6895      -53     
+ Partials     1360     1359       -1     

see 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

mikaelweave and others added 2 commits July 16, 2026 17:23
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 70fa91e1-d917-4ba3-990f-f731b36e3f55
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 70fa91e1-d917-4ba3-990f-f731b36e3f55
@mikaelweave
mikaelweave force-pushed the personal/mikaelw/fix-paas-auth-e2e-test-token-endpoint branch 2 times, most recently from 1363f53 to 88655a0 Compare July 16, 2026 22:07
@mikaelweave mikaelweave added this to the CY25Q4/2Wk02 milestone Jul 16, 2026
@mikaelweave mikaelweave added Bug Bug bug bug. Open source This change is only relevant to the OSS code or release. No-ADR ADR not needed PaaS-breaking-change Add this label if your changes will require additional changes in PaaS repos to be complete labels Jul 16, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 70fa91e1-d917-4ba3-990f-f731b36e3f55
@mikaelweave

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 5681 in repo microsoft/fhir-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug bug bug. No-ADR ADR not needed Open source This change is only relevant to the OSS code or release. PaaS-breaking-change Add this label if your changes will require additional changes in PaaS repos to be complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants