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.
Since Flask 2.2.0 json_encoder and json_decoder properties on
appare deprecated and was set toNoneby default (Flask changelog)JWTManager._encode_jwt_from_configmethod relies on it. It now raises errors on datetime, UUID, etc. values serialisation.