HubInterface and generated JWT token not working fine
Closed this issue · 1 comments
GRUXXKi commented
Hi,
I've found that with the last mercure-bundle 0.3 and the last mercure server 0.11.3 there is an issue with the generated JWT token.
The generated token looks like :
{
"exp": 1621589724.242307,
"mercure": {
"publish": [
"*"
],
"subscribe": []
}
}
And mercure send a 401 error when trying to publish with it.
I've tryed the same token generated but with the removal of "exp": 1621589724.242307, and it worked just fine when publishing in the debug UI !
I haven't found yet how to remove it automatically , maybe somehting with LcobucciFactory to handle.
chalasr commented
This has been fixed upstream (see dunglas/mercure#522).