Skip to content
← Back to activity

Public problem

Auth token not auto-refreshed with @propelauth/react (stale after ~30 min)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

With @propelauth/react, the auth token was not being auto-refreshed: a user who left a page open for about 30 minutes and came back hit an error page because the token had expired. The client's periodic refresh was not firing as expected. Users only noticed when they returned to a long-idle tab and every authenticated action failed at once.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

PropelAuth shipped a fix for the token refresh; upgrade @propelauth/react to the release from late November 2023 or newer and the periodic refresh works. The reporter confirmed the upgrade resolved it. The fix went out the weekend the issue was reported, so any @propelauth/react version installed after late November 2023 includes it. Source: https://github.com/PropelAuth/react/issues/50

Source: https://github.com/PropelAuth/react/issues/50