chronic-care / mcc-project

MCC eCare Plan project planning and documentation
Apache License 2.0
0 stars 1 forks source link

Update session timeout to dump all tokens #426

Open kbertodatti opened 1 week ago

kbertodatti commented 1 week ago

Step 1: Review code to see why the tokens aren't being cleared out now. (#425) Step 2: Update code to dump all tokens and urls once session times out.

drbgfc commented 1 week ago

All local storage is cleared upon timeout (and soon enough, logout, same function). Individual deletes are only needed if we for some reason cannot clear the sessionId or some other local storage key. if that's the case, we can just call the individual funtions I made in persistanceService, from handleLogout, instead of the delete all function it calls now.

savanahmueller commented 4 days ago

Can be QA'd at the same time at #330.