Skip to content

OneTimeTokenAuthenticationToken does not have a Jackson Mixin #18095

@marcusdacoregio

Description

@marcusdacoregio

Describe the bug

If the OneTimeTokenAuthenticationToken is serialized and saved in the database as JSON, when we try to deserialize it with an ObjectMapper it fails because there is no Mixin for it in SecurityJackson2Modules

To Reproduce
Save the OneTimeTokenAuthenticationToken as JSON and try to deserialize it using an ObjectMapper with the SecurityJackson2Modules module registered

Expected behavior
It should know how to serialize/deserialize properly

Sample

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions