Van De Mog
CCConvex Community
•Created by Van De Mog on 8/19/2024 in #support-community
_generated exports 2 api imports
3 replies
CCConvex Community
•Created by Van De Mog on 4/14/2024 in #support-community
Clerk and Convex Implementation Using Server Components
My current implementation is completelly client side, and I did found some docs on clerk website regarding authentication using NextJs App router and RSC. (https://clerk.com/docs/references/nextjs/auth)
Although the conflict begins here, convex docs tells us to use
const { isAuthenticated, isLoading } = useConvexAuth();
https://docs.convex.dev/auth/custom-auth#using-the-new-provider
But that is not made for RSC either.
Do we have a middleground or examples?
My current code:
8 replies