clerk / example-cypress-nextjs

Example repo using Clerk, Cypress and NextJS
3 stars 2 forks source link

Clerk core v2 - Clerk fails to load under cypress iframe - "Browser unauthenticated" #7

Closed AlonMiz closed 2 months ago

AlonMiz commented 2 months ago
{
    "errors": [
        {
            "message": "Browser unauthenticated",
            "long_message": "Unable to authenticate this browser for your development instance. Check your Clerk cookies and try again. If the issue persists reach out to support@clerk.com.",
            "code": "dev_browser_unauthenticated"
        }
    ],
    "clerk_trace_id": "7d1c50d0956fd9d3fcf0e724ee113c37"
}
    "@clerk/clerk-sdk-node": "5.0.0",
    "@clerk/nextjs": "5.0.1",
    "@clerk/themes": "2.0.0",
    "next": "14.2.2",
Uncaught (in promise) Error: ClerkJS: Something went wrong initializing Clerk.
    at o (VM2800 clerk.browser.js:2:73614)
    at $e.<anonymous> (VM2800 clerk.browser.js:2:223897)
    at async $e.load (VM2800 clerk.browser.js:2:202798)
    at async _IsomorphicClerk.loadClerkJS (VM2822 node_modules_@clerk_clerk-react_dist_51047c._.js:1728:17)
AlonMiz commented 2 months ago

any news regarding that? i cannot upgrade to the new core API.

AlonMiz commented 2 months ago

closing as it's stale, the issue did not resolve yet. continue discussion here https://github.com/clerk/javascript/issues/3369