Skip to content

fix: implement persistent auth session using expo-secure-store#305

Open
Midoriya-w wants to merge 1 commit into
Dev-Card:mainfrom
Midoriya-w:fix/mobile-auth-persistence
Open

fix: implement persistent auth session using expo-secure-store#305
Midoriya-w wants to merge 1 commit into
Dev-Card:mainfrom
Midoriya-w:fix/mobile-auth-persistence

Conversation

@Midoriya-w
Copy link
Copy Markdown
Contributor

Closes #264

Changes:

  • Implemented persistent auth session using expo-secure-store
  • Token is saved to secure storage on login
  • Token is restored automatically on app start via useEffect
  • User profile is re-fetched if saved token exists
  • Token is cleared from secure storage on logout
  • If saved token is invalid/expired, storage is cleared automatically
  • Replaces all TODO placeholders with working implementation

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 24, 2026
@Harxhit Harxhit requested a review from ShantKhatri May 24, 2026 17:05
@Harxhit
Copy link
Copy Markdown
Collaborator

Harxhit commented May 24, 2026

@ShantKhatri Could please look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile auth session is not persisted across app restarts

2 participants