Handling refresh token from THE REST API

Hey everyone,

I’m working on authentication in WeWeb using a REST API. Right now, I only receive an access token after login, but there’s no refresh token provided and i have added the refresh token


. My concern is that when the access token expires, the user will have to log in again.

I’d like to implement a refresh token system in WeWeb, but I’m not sure how to:

  1. Get a refresh token from the API.
  2. Use it to renew the access token automatically before expiration.
  3. Store and update the new token securely.

Does anyone have experience setting this up on WeWeb?

Thanks in advance! :rocket: