Tags: supabase-community/gotrue-swift
Tags
fix: refreshing tokens at the wrong time (#55) * fix: refreshing tokens at the wrong time StoredSession.isValid was being calculated incorrectly, because by comparing to "1 minute ago", it means an access token which expires "30 seconds ago" is still valid for 30 seconds. Changing to plus 60 seconds eliminates this problem, and bakes in plenty of time for latency issues. In a future evolution I believe this value should be configurable. * configurable refresh tolerance * Revert "configurable refresh tolerance" This reverts commit 942acce.
PreviousNext