Project

General

Profile

Feature #3689

Keep the user logged in till they explicitly logout

Added by Ayanava Karmakar 4 months ago. Updated 4 months ago.

Status:
Review
Priority:
Normal
Start date:
07/30/2024
Due date:
% Done:

100%

Estimated time:

Description

After an user logs in, we get an access_token from Google with fixed expiry time of 60 minutes. When this expires and user visits the site, they'll see the Login Overlay again and need to login.

New implementation:

1) user visits site. we check local storage for user email ID
2) if email ID not present ---> show UI State: Logged Out
3) if email ID present ---> show UI State: Logged In
4) when user manually logs out ---> remove user's email ID from user storage
5) Flow: user visits site ----> show loading animation during #1 ---> end loading animation ---> show UI state. auto page reload not needed

#1

Updated by Ayanava Karmakar 4 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
#2

Updated by Ayanava Karmakar 4 months ago

  • Status changed from Resolved to Reopened
#4

Updated by Ayanava Karmakar 4 months ago

  • Status changed from Reopened to In Progress
#5

Updated by Ayanava Karmakar 4 months ago

  • Status changed from In Progress to Resolved
#6

Updated by Ayanava Karmakar 4 months ago

  • Status changed from Resolved to Review
#7

Updated by Ayanava Karmakar 4 months ago

  • % Done changed from 50 to 100

Also available in: Atom PDF