jakepeg / doocoins-pwa

DooCoins is a reward system for kids that motivates and teaches them important financial literacy and organization skills.
https://www.doo.co
GNU General Public License v3.0
3 stars 1 forks source link

Internet Identity Login Persistence Issue in PWA (nfid) #15

Open jakepeg opened 2 months ago

jakepeg commented 2 months ago

Description: Parents using the PWA are getting logged out after 20 minutes of inactivity. Login sessions are not persisting as expected.

Expected behavior: We expect the login session to persist for a reasonable duration, even after periods of inactivity. Ideally, the session shouldn't time out. The child can logout manually.

Additional information:

jakepeg commented 2 months ago

Update NFID to see if that fixes the issue.

ToDoo: look at the updated NFID docs - https://docs.nfid.one/embed/integration/quickstart

Done: npm i @nfid/embed Done: update @dfinity/agent @dfinity/identity @dfinity/auth-client @dfinity/principal

jakepeg commented 2 months ago

created a new branch PersistLogin