Cannot log in unless Proxy or VPN

When running the Slice Machine, I login and get an error.

Then I start a VPN or Cloudflare Warp, and the login succeeds.

I don't know why this happens. Just reporting it, as some people who're starting with Prismic may quit because they just can't log in.

tl;dr

  • nomral login -> :x:
  • vpn then login -> :white_check_mark:

Hello,

Can you tell me more on your set up and projet? like :

  • Your Slice Machine and adapter version
  • Your package.json
  • Your browser and version

thanks

Latest version of Edge and Chrome tested. Both fail often.

{
	"name": "app",
	"version": "0.0.1",
	"private": true,
	"scripts": {
		"dev": "concurrently \"pnpm:vite:dev\" \"pnpm:slicemachine\" --prefix-colors blue, magenta",
		"vite:dev": "vite dev",
		"build": "vite build",
		"preview": "vite preview",
		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
		"lint": "prettier --check .",
		"format": "prettier --write .",
		"slicemachine": "start-slicemachine",
		"test": "vitest",
		"test:ui": "vitest --ui",
		"test:watch": "vitest --watch"
	},
	"devDependencies": {
		"@skeletonlabs/skeleton": "^2.10.1",
		"@skeletonlabs/tw-plugin": "^0.4.0",
		"@slicemachine/adapter-sveltekit": "^0.3.42",
		"@svelte-put/cloudflare-turnstile": "^0.1.3",
		"@sveltejs/adapter-auto": "^3.2.2",
		"@sveltejs/kit": "^2.5.18",
		"@sveltejs/vite-plugin-svelte": "^3.1.1",
		"@tailwindcss/forms": "^0.5.7",
		"@tailwindcss/typography": "^0.5.13",
		"@testing-library/jest-dom": "^6.4.6",
		"@testing-library/svelte": "^5.2.0",
		"@types/gtag.js": "^0.0.20",
		"@types/node": "^20.14.10",
		"@vitest/ui": "^2.0.2",
		"autoprefixer": "^10.4.19",
		"concurrently": "^8.2.2",
		"cssnano": "^7.0.4",
		"daisyui": "^4.12.10",
		"jsdom": "^24.1.0",
		"postcss": "^8.4.39",
		"postcss-cli": "^11.0.0",
		"postcss-load-config": "^6.0.1",
		"prettier": "^3.3.2",
		"prettier-plugin-svelte": "^3.2.5",
		"prettier-plugin-tailwindcss": "^0.6.5",
		"slice-machine-ui": "^2.2.1",
		"svelte": "5.0.0-next.183",
		"svelte-check": "^3.8.4",
		"tailwindcss": "^3.4.4",
		"tslib": "^2.6.3",
		"typescript": "^5.5.3",
		"vite": "^5.3.3",
		"vitest": "^2.0.2"
	},
	"type": "module",
	"dependencies": {
		"@builder.io/partytown": "^0.10.2",
		"@fontsource-variable/dm-sans": "^5.0.6",
		"@prismicio/client": "^7.6.0",
		"@prismicio/richtext": "^2.1.5",
		"@prismicio/svelte": "^1.2.0",
		"@sveltejs/adapter-vercel": "^5.4.1",
		"@types/cloudflare-turnstile": "^0.2.0",
		"@vercel/speed-insights": "^1.0.12",
		"clsx": "^2.1.1",
		"lucide-svelte": "^0.408.0",
		"marked": "^13.0.2",
		"resend": "^3.4.0",
		"shiki": "^1.10.3",
		"tailwind-merge": "^2.4.0",
		"zod": "^3.23.8",
		"zod-form-data": "^2.0.2"
	}
}

Thanks for your answer.
That's very useful for us to investigate. I can't say right now when we will be able to fix this but we plan to investigate further this quarter.

I will get back here when we have more news on that front.