Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite Console Logs: "Chrome is moving towards a new experience..." when using magic-sdk in Next.js #822

Open
3 tasks done
shunshimono opened this issue Oct 19, 2024 · 2 comments

Comments

@shunshimono
Copy link

shunshimono commented Oct 19, 2024

โœ… 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

Logs of "Chrome is moving towards a new experience that lets people make an informed choice with respect to third-party cookies." keep appearing infinitely.

๐Ÿงฉ Steps to Reproduce

  1. Simply set up the Magic Provider in a Next.js app.

๐Ÿค” Expected behavior

The logs of "Chrome is moving towards a new experience that lets people make an informed choice with respect to third-party cookies." should not keep appearing infinitely.

๐Ÿ˜ฎ Actual behavior

Clipchamp.1.mp4

๐Ÿ’ป Code Sample

https://codesandbox.io/p/devbox/htw2js

๐ŸŒŽ Environment

Software Version(s)
magic-sdk 28.14.0
Browser chrome
yarn
Operating System windows
@shunshimono shunshimono changed the title [DESCRIPTIVE BUG NAME] Infinite Console Logs: "Chrome is moving towards a new experience..." when using magic-sdk in Next.js Infinite Console Logs: "Chrome is moving towards a new experience..." when using magic-sdk in Next.js Oct 19, 2024
@sakthi-ionixx
Copy link

If any one find an solution for the infinite console warning?

Screenshot from 2024-10-23 15-35-21

@ayv8er
Copy link

ayv8er commented Oct 25, 2024

@sakthi-ionixx
The solution to avoiding those warnings is to use our non 3rd party based session management mechanism.
If you enable Auto Refresh under Session Management in your app settings, you'll utilize a session management mechanism that relies on 1st party refresh tokens.
Screenshot 2024-10-25 at 09 24 56

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

No branches or pull requests

3 participants