If only specifying a single location to check for JWT in the jwt_required() decorator, it should be acceptable to pass a string instead of a list for the "locations" kwarg.
Example:
Instead of @jwt_required(locations=['cookies'])...
@jwt_required(locations='cookies') should also be acceptable