Added support for allowExpiredSession + adjusted session logic so if there's an existing session from storage, we keep it in case an authRetryableError happens (ie. the session expired, but we failed to refresh it). This allows the session to stay alive even when the user is offline, as a refresh will still happen once online.
Updated to latest GoTrue client.
Added support for
allowExpiredSession
+ adjusted session logic so if there's an existing session from storage, we keep it in case an authRetryableError happens (ie. the session expired, but we failed to refresh it). This allows the session to stay alive even when the user is offline, as a refresh will still happen once online.