does anyone know how to fix the browser alert I ge...
# help
w
does anyone know how to fix the browser alert I get saying "JWT expired"? I followed a react auth tutorial and not sure what is causing this
s
These should auto refresh if the user is still using the app, they only expire if the app sits idle for the time of the expiry on the token.
m
by default the expiration is set to 3600seconds (1h) You can capture this and re-authenticate the user or refresh the token
w
@User Ohh thank you that is super helpful! I didn't know about the onUnauthenticated event 🙏
OK got it, thanks for explaining!!