Rasa X chatToken endpoint returns expired token

Rasa Version : 2.1.2
Rasa SDK Version : 2.1.2
Rasa X Version : 0.34.0
Python Version : 3.8.5
Operating System : Linux-5.8.0-7630-generic-x86_64-with-glibc2.29

Hi, I have a problem using the api/chatToken endpoint, it gives me a chatToken that is expired of about 3 days, I am using the “me” user’s JWT (valid) in the payload (obtained by api/auth). No matter what I do, Rasa X doesn’t want to generate a new one.

I am running in production using docker-compose, both system time and container’s time are correct. If I run the same version and config in local mode everything works.

Any ideas ?

Little update, I manage to find a little hack to temporarily solve the issue. By editing the chatToken with the PUT method, the expiration timestamp got updated. The fact that Rasa X doesn’t generate a new one after expiration is very strange.