PricingBlog

Refresh token

  • jmg232-1116757078090973324

    JohnG

    2 years ago

    Thanks for the great demo of the to-do app with authentication. I'm using supabase and set the auth token to a session cookie. What do you do when the auth token expires? I'd like to get a new auth token silently using the refresh token, rather than having the user login each time the auth token expires, but I'm not sure how to do that.
    1
    👍1
  • andreasmoller-1116787702742925332

    Andreas Møller

    2 years ago

    Hi John. Not at the moment we don’t support refresh tokens.

    We plan on adding much better support for oAuth, and especially PKCE via supabase.

    For now we opted to just have a slightly longer expiry on the with token
    👍1