Skip to content

[3.x] Require non-empty permission claims in OWIN APIs - #4044

Merged
Iarek Kovtunenko (iarekk) merged 2 commits into
rel/3vfrom
iinglese/3x-owin-permission-claims
Sep 14, 2026
Merged

Iarek Kovtunenko (iarekk) merged 2 commits into
rel/3vfrom
iinglese/3x-owin-permission-claims

Conversation

@iNinja

Copy link
Copy Markdown
Contributor

Summary

  • Backport the final OWIN permission-claim validation behavior from Fix OWIN  #4006 and Require non-empty permission claims in OWIN APIs #4009 to the 3.x servicing branch.
  • Require a recognized scope or role claim with a non-whitespace value by default.
  • Preserve ACL-based authorization through AllowWebApiToBeAuthorizedByACL.
  • Preserve existing consumer validation, request-token, and challenge callbacks.

Release notes

OWIN protected web APIs now reject bearer tokens that do not contain a recognized
scope or role claim with a non-whitespace value. Applications that perform their
own ACL-based authorization can continue to opt in with
AllowWebApiToBeAuthorizedByACL.

Testing

  • 19 focused tests passed on .NET Framework 4.7.2.
  • Microsoft.Identity.Web.OWIN built successfully.

@iNinja
Ignacio Inglese (iNinja) requested a review from a team as a code owner September 14, 2026 14:49
@bgavrilMS
Bogdan Gavril (bgavrilMS) force-pushed the iinglese/3x-owin-permission-claims branch from f32812c to b43f7f2 Compare September 14, 2026 17:59
@bgavrilMS
Bogdan Gavril (bgavrilMS) requested a review from a team as a code owner September 14, 2026 17:59
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@iarekk
Iarek Kovtunenko (iarekk) force-pushed the iinglese/3x-owin-permission-claims branch from b43f7f2 to 60ba581 Compare September 14, 2026 19:51
@iarekk
Iarek Kovtunenko (iarekk) merged commit 640de2e into rel/3v Sep 14, 2026
6 checks passed
@iarekk
Iarek Kovtunenko (iarekk) deleted the iinglese/3x-owin-permission-claims branch September 14, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants