Skip to content

Comments

Ensure WWW-Authenticate uses a single HTTP header #1998

Merged
josephdecock merged 4 commits intoreleases/is/7.2.xfrom
ka-fix-WWWAuthenticate
May 7, 2025
Merged

Ensure WWW-Authenticate uses a single HTTP header #1998
josephdecock merged 4 commits intoreleases/is/7.2.xfrom
ka-fix-WWWAuthenticate

Conversation

@khalidabuhakmeh
Copy link
Contributor

Introduce tests for ProtectedResourceErrorResult to ensure WWW-Authenticate header formatting is correct. Refactor header construction values into a single string.

@khalidabuhakmeh khalidabuhakmeh self-assigned this May 6, 2025
@khalidabuhakmeh khalidabuhakmeh added the area/products/is IdentityServer label May 6, 2025
@josephdecock josephdecock changed the title Add unit tests and refactor ProtectedResourceErrorResult Ensure WWW-Authenticate uses a single HTTP header May 6, 2025
@josephdecock josephdecock force-pushed the ka-fix-WWWAuthenticate branch 2 times, most recently from b63dc09 to 8f1f4c8 Compare May 7, 2025 01:17
Introduce tests for ProtectedResourceErrorResult to ensure WWW-Authenticate header formatting is correct. Refactor header construction values into a single string.
@josephdecock josephdecock force-pushed the ka-fix-WWWAuthenticate branch from 8f1f4c8 to a0e9118 Compare May 7, 2025 01:30
This is only adding the dependency, not updating all the tests. This gives us an easy way to write tests that will merge cleanly into main.
@josephdecock josephdecock force-pushed the ka-fix-WWWAuthenticate branch from a0e9118 to ddd59d5 Compare May 7, 2025 01:38
@josephdecock
Copy link
Member

I've updated the tests to use Shoudly so that this fix will merge more easily into main. I've also made some minor tooling fixes to the release branches. They now all increment minver patch versions, and this branch was rebased on to that change. I also ran into a vscode settings file not getting ignored, so I added that to gitignore.

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

Labels

area/products/is IdentityServer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants