Code Monkey home page Code Monkey logo

Comments (4)

zthart avatar zthart commented on August 16, 2024 1

By the way, do you know about @descope/next-sdk package? It's a dedicated package for next which supports everything that the react sdk does

I wasn't aware of the Next.js-specific package. I tried it out here as a drop-in replacement and it requires the same next/dynamic workaround.

Looking into it it seems the version of @descope/react-sdk it depends on is 2.0.20, so it seems to suffer from this same problem when using the AuthProvider in client components by way of the transitive dependency. I haven't had the time to investigate reorganizing some of our application to take advantage of the provided middleware to move some of this code server-side which might get around this problem in a different way.

from react-sdk.

asafshen avatar asafshen commented on August 16, 2024

Hey @zthart

Thanks for the detailed description of the issue

I'll look into it and let you know my findings as soon as possible

By the way, do you know about @descope/next-sdk package? It's a dedicated package for next which supports everything that the react sdk does

from react-sdk.

myfrontpocket avatar myfrontpocket commented on August 16, 2024

I'm using Remix and ran into this this morning after updating to 2.0.15. Tried using the NextJS SDK, but that's a no-go

from react-sdk.

asafshen avatar asafshen commented on August 16, 2024

the issue was fixed on @descope/next-js-sdk version 0.0.10

from react-sdk.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.