Default auth provider info goes stale

Summary

After a while (I logged in yesterday) the login information looks broken and services that need authorization don't work anymore but are still shown as if they would.

Steps to reproduce

Login with default auth (oauth2) provider and wait. (timespan yet unknown)

Example Project

Current open beta (build 17)

What is the current bug behavior?

The user info card content is missing. It looks like the user is still logged in but nothing needing that login is working.

What is the expected correct behavior?

The refresh token should be used to gain access. Users should never see this stale/ non working configuration.

Relevant logs and/or screenshots

Screenrecording iPhone XR iOS 16.0.3 stale_login

Possible fixes

refactor/fix oauth2 refresh token flow

Edited by Rainer Killinger