Skip to content

Fix statelessSessions to only accept Authorization: Bearer prefixed tokens#9786

Merged
dcousens merged 2 commits intomainfrom
stateless-only-bearer
Mar 9, 2026
Merged

Fix statelessSessions to only accept Authorization: Bearer prefixed tokens#9786
dcousens merged 2 commits intomainfrom
stateless-only-bearer

Conversation

@dcousens
Copy link
Copy Markdown
Member

@dcousens dcousens commented Mar 6, 2026

This may help #9785, by restricting the types of Authorization headers that we accept.

Authorization: Basic is not supported by statelessSessions, but Iron.unseal would have been attempted for any Authorization: header.

This may break downstreams who inadvertently used Authorization: {token}, but that has not been intentionally supported.

@dcousens dcousens changed the title Fix statelessSession to only accept Authorization: Bearer prefixed tokens Fix statelessSessions to only accept Authorization: Bearer prefixed tokens Mar 6, 2026
@dcousens
Copy link
Copy Markdown
Member Author

dcousens commented Mar 6, 2026

Needs a changeset

@dcousens dcousens force-pushed the stateless-only-bearer branch from ba137e9 to ddda22d Compare March 9, 2026 21:34
@dcousens dcousens merged commit c48c76e into main Mar 9, 2026
51 checks passed
@dcousens dcousens deleted the stateless-only-bearer branch March 9, 2026 21:43
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.

1 participant