Closed SlimShadyIAm closed 1 month ago
The app will still be authenticated, since the auth token lasts up to 30 days. However, leaving it for a few hours (i.e 12 hours or so?) and opening the app again shows the Login page.
The problem is probably here: https://github.com/cph-cachet/carp_studies_app/blob/0bdcc6a8de4d0d283720aa77280c71f0a76db116/lib/carp_study_app.dart#L50-L64
It would seem that isAuthenticated is false, possibly because the OIDC Manager hasn't had time to properly initialize.
isAuthenticated
The app will still be authenticated, since the auth token lasts up to 30 days. However, leaving it for a few hours (i.e 12 hours or so?) and opening the app again shows the Login page.
The problem is probably here: https://github.com/cph-cachet/carp_studies_app/blob/0bdcc6a8de4d0d283720aa77280c71f0a76db116/lib/carp_study_app.dart#L50-L64
It would seem that
isAuthenticated
is false, possibly because the OIDC Manager hasn't had time to properly initialize.