botpress / studio

The studio is the main interface you'll use to build and edit your chatbot.
https://botpress.com/docs/quickstart#conversation-studio
36 stars 38 forks source link

fix(studio): fix auto token refresh #277

Closed allardy closed 2 years ago

allardy commented 2 years ago

By default, the user's token on the studio is supposed to be refreshed automatically (as long as the studio is opened, the token will refresh itself instead of logging out the user).

The problem was that the refresh endpoint was not correct, it replied html instead of the token... Now it will automatically refresh the token, so we'll stop getting disconnected from the studio.