Skip to content

Fix Jackson Deserializer for AuthenticationExtensionsClientOutputs#18897

Merged
rwinch merged 7 commits intospring-projects:7.0.xfrom
ziqin:gh-18643-7.0.x
Mar 16, 2026
Merged

Fix Jackson Deserializer for AuthenticationExtensionsClientOutputs#18897
rwinch merged 7 commits intospring-projects:7.0.xfrom
ziqin:gh-18643-7.0.x

Conversation

@ziqin
Copy link
Copy Markdown
Contributor

@ziqin ziqin commented Mar 15, 2026

This PR fixes gh-18643, targeting Spring Security 7.0.x.

The changes here was previously submitted in PR #18644. I was thinking about a workflow of merging into 7.0.x first and backporting to 6.5.x, but it seems that Spring Security always fixes on the oldest supported version and merges forward. To make it easier to merge, I am now spliting PR #18644 into two new PRs, i.e. #18896 and #18897 (i.e. this one).

In this PR, I merge gh-18864-6.5.x (i.e. PR #18896) to fix the Jackson 2 deserializer, manually resolve the conflict caused by classes renaming (introduced during v6-to-v7 migration), and then fix the Jackson 3 deserializer.

Therefore, this PR contains the forward-port of #18896 for Jackson 2 as well as the fix for Jackson 3 deserializer. It could be and is intended to be directly merged into 7.0.x without the “#18896 -> 6.5.x -> 7.0.x” steps.

ziqin added 7 commits March 15, 2026 15:03
Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
The deserializer is updated to properly ignore unknown extensions.

Closes spring-projectsgh-18643

Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
The deserializer is updated to properly ignore unknown extensions.

This fix addresses the WebAuthn authentication failure appeared when
using FIDO2 security keys on Safari.

Closes spring-projectsgh-18643

Signed-off-by: Ziqin Wang <ziqin@wangziqin.net>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 15, 2026
@rwinch rwinch self-assigned this Mar 16, 2026
@rwinch rwinch added type: bug A general bug in: webauthn WebAuthn and Passkeys labels Mar 16, 2026
@rwinch rwinch added this to the 7.0.4 milestone Mar 16, 2026
@rwinch rwinch changed the title Fix Jackson 3 deserializer for AuthenticationExtensionsClientOutputs Fix Jackson Deserializer for AuthenticationExtensionsClientOutputs Mar 16, 2026
@rwinch rwinch merged commit e8cb0ef into spring-projects:7.0.x Mar 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: webauthn WebAuthn and Passkeys status: waiting-for-triage An issue we've not yet triaged type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants