question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent log outs on desktop Chrome + Safari

See original GitHub issue

✅ Prerequisites

  • Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • Are you running the latest SDK version?
  • Are you reporting to the correct repository (magic-sdk)?

🐛 Description

Our users are experiencing intermittent logouts on desktop Chrome + Safari even after the fix for issue https://github.com/magiclabs/magic-js/issues/279. We believe there is still a session persistence issue on desktop browsers.

🧩 Steps to Reproduce

  1. Login using Magic
  2. Wait a random amount of time (usually a couple days)
  3. User is brought to logged out page even though they didn’t explicitly log out

🤔 Expected behavior

User is logged in for the duration of the session. We currently have sessions set to 90 days and to auto-refresh using the Magic dashboard.

😮 Actual behavior

User is only logged in for a couple days before being logged out.

💻 Code Sample

🌎 Environment

Software Version(s)
magic-sdk 10.0.0
Browser Google Chrome 107.0.5304.110 and Safari 15.4
yarn
Operating System MacOS 12.3

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
pkayfirecommented, Nov 16, 2022

cc @mikeavvad who was also facing this issue

0reactions
pkayfirecommented, Dec 1, 2022

Closing for now as Magic team were unable to reproduce and we haven’t had any users reporting the issue recently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stay signed in or out of your Google Account
When you sign in to your Google Account, you'll stay signed in until you sign out. If you're using a public computer or...
Read more >
Safari 15 keeps logging me out of several sites every week or so
I'm furious. I need to login about one time in 2 hour. Problem with using sites only on Safari, Chrome work without logout....
Read more >
macos - Chrome can't load certain sites but Safari can
The Incognito mode worked for me. But it didn't hold up back in normal mode. Had to go to Settings / Advanced settings...
Read more >
Salesforce issues in Google Chrome and ways to trouble shoot
From this Blog post giving you more information on what are common issues we face while logging in salesforce using Chrome and remedies....
Read more >
HOW TO RESOLVE WEB SITE ISSUES Clear your Browser ...
If you are signed in to Chrome using a school e-mail address, your access could be restricted. To resolve this issue and enable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found