Skip to content

Flask 2.2.0 json_encoder and json_decoder are deprecated #492

Closed
@Sir-MaNiAl

Description

@Sir-MaNiAl

Since Flask 2.2.0 json_encoder and json_decoder properties on app are deprecated and was set to None by default (Flask changelog)
JWTManager._encode_jwt_from_config method relies on it. It now raises errors on datetime, UUID, etc. values serialisation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions