Jumper
Jumper
KKinde
Created by Jumper on 5/23/2024 in #💻┃support
How to detect if a token has expired with the Client JS SDK?
Hey! This is using the @kinde-oss/kinde-auth-pkce-js package. And well basically when you call createKindeClient it will throw an error if the token is expired... So ok, I could catch the error and then redirect them back to kinde's site to refresh their token... But it doesn't feel particularly robust
5 replies