clerk/javascript

Too many redirects on clerk.com (Dashboard AND docs)

spacecat opened this issue · 1 comments

Preliminary Checks

Reproduction

https://www.github.com

Publishable key

pk_test_123

Description

Steps to reproduce:

  1. Go to clerk.com docs or to your clerk.com dashboard using Google Chrome
  2. Switch to a completely different tab/website in Chrome, e.g. discord.com, leave this tab open
  3. Switch app, put your computer on stand by, or anything else that puts the clerk.com tab in Chrome to "sleep"
  4. Come back later, open up Chrome, discord.com should be open
  5. Switch to your clerk.com tab

Expected behavior:

clerk.com should NOT display ERR_TOO_MANY_REDIRECTS in Chrome

Actual behavior:

clerk.com displays ERR_TOO_MANY_REDIRECTS in Chrome

Additional info:

Yesterday, I noticed the same but with my own app that is deployed to Vercel but in Chrome 124.0.6367.113 on my Samsung Android phone. Here I don't think I even needed to switch tabs, I just came back a few moments later, opened up Chrome and immediately saw this message. Here's a screenshot - it says: The page does not work. ...dev redirected you too many times. Try deleting your cookies. Button: Reload Page:
Screenshot_20240507_121728_Chrome

I have been using clerk in my app for a couple of months now and I've only seen this error message after I upgraded to Core 2 which I did 3-4 days ago.

Environment

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1
    Memory: 100.78 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    bun: 1.0.13 - ~/.bun/bin/bun
  Browsers:
    Chrome: 124.0.6367.119
    Safari: 17.4.1
  npmPackages:
    @clerk/nextjs: 5.0.6 => 5.0.6 
    @floating-ui/react: 0.26.13 => 0.26.13 
    @headlessui/react: 2.0.0-alpha.4 => 2.0.0-alpha.4 
    @heroicons/react: 2.1.3 => 2.1.3 
    @ianvs/prettier-plugin-sort-imports: 4.2.1 => 4.2.1 
    @tailwindcss/forms: 0.5.7 => 0.5.7 
    @tailwindcss/typography: 0.5.13 => 0.5.13 
    @types/node: 20.12.8 => 20.12.8 
    @types/react: 18.3.1 => 18.3.1 
    @types/react-dom: 18.3.0 => 18.3.0 
    @types/react-howler: 5.2.3 => 5.2.3 
    @types/react-scroll: 1.8.10 => 1.8.10 
    @types/react-timeago: 4.1.7 => 4.1.7 
    algoliasearch: 4.23.3 => 4.23.3 
    autoprefixer: 10.4.19 => 10.4.19 
    clsx: 2.1.1 => 2.1.1 
    date-fns: 3.6.0 => 3.6.0 
    eslint: 8.57.0 => 8.57.0 
    eslint-config-next: 14.2.3 => 14.2.3 
    eslint-config-prettier: 9.1.0 => 9.1.0 
    justgage: 1.6.1 => 1.6.1 
    next: 14.2.3 => 14.2.3 
    next-themes: 1.0.0-beta.0 => 1.0.0-beta.0 
    postcss: 8.4.38 => 8.4.38 
    prettier: 3.2.5 => 3.2.5 
    prettier-plugin-tailwindcss: 0.5.14 => 0.5.14 
    react: 18.3.1 => 18.3.1 
    react-countdown: 2.3.5 => 2.3.5 
    react-dom: 18.3.1 => 18.3.1 
    react-howler: 5.2.0 => 5.2.0 
    react-instantsearch: 7.7.3 => 7.7.3 
    react-instantsearch-nextjs: 0.2.2 => 0.2.2 
    react-responsive: 10.0.0 => 10.0.0 
    react-scroll: 1.9.0 => 1.9.0 
    react-toastify: 10.0.5 => 10.0.5 
    sass: 1.76.0 => 1.76.0 
    swiper: 11.1.1 => 11.1.1 
    tailwind-merge: 2.3.0 => 2.3.0 
    tailwind-scrollbar: 3.1.0 => 3.1.0 
    tailwindcss: 3.4.3 => 3.4.3 
    typescript: 5.4.5 => 5.4.5