Skip to content

Make Authorization header auth-scheme case-insensitive#48406

Open
alimmirk wants to merge 2 commits intokeycloak:mainfrom
alimmirk:fix-auth-scheme-case-insensitivity
Open

Make Authorization header auth-scheme case-insensitive#48406
alimmirk wants to merge 2 commits intokeycloak:mainfrom
alimmirk:fix-auth-scheme-case-insensitivity

Conversation

@alimmirk
Copy link
Copy Markdown

@alimmirk alimmirk commented Apr 23, 2026

Closes #48387

This PR makes the 'Bearer' and 'DPoP' auth schemes in the Authorization header case-insensitive, as required by RFC 9110, Section 11.1. Previously, Keycloak was strictly case-sensitive for these schemes (especially DPoP).

@alimmirk alimmirk requested a review from a team as a code owner April 23, 2026 11:46
@alimmirk alimmirk force-pushed the fix-auth-scheme-case-insensitivity branch from a7f5651 to f724cde Compare April 23, 2026 11:57
@ahus1 ahus1 changed the title Fix #48387: Make Authorization header auth-scheme case-insensitive Make Authorization header auth-scheme case-insensitive Apr 23, 2026
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.

Authorization Header's auth-scheme part should be case-insensitive

1 participant