The jwt-authentication throws this error and doesn't start.
error - node_modules\jose\dist\browser\jws\flattened\sign.js (11:0) @ new FlattenedSign
TypeError: payload must be an instance of Uint8Array
I also opened a discussion on the jose repo because the issue happens also when implementing the code in my repo.