Julián David
CCConvex Community
•Created by Julián David on 12/5/2024 in #support-community
Next.js 15 (Canary) - Issue with Convex Auth Context
I'm using Next.js 15 (canary version), and everything works fine most of the time. However, occasionally after a hard reload, the middleware indicates the user is authenticated, but mutations fail because the ctx.user is undefined. For example, inside a mutation:
...
const userId = await getAuthUserId(ctx)
...
returns undefined, This issue seems to resolve itself after a few refreshes.
What could be causing this behavior?
I'm using:
"@auth/core": "^0.37.4",
"@convex-dev/auth": "^0.0.75",
"convex": "^1.17.3",
"convex-helpers": "^0.1.65",
15 replies
CCConvex Community
•Created by Julián David on 10/8/2024 in #support-community
Latest version of @convex-dev/auth is with some type errors using Resend as a magic link provider
I can't use react-email either; it seems like the react config parameter to load a react template isn't working.
5 replies
CCConvex Community
•Created by Julián David on 9/25/2024 in #support-community
Are image transformations supported?
I don’t see anything related in the docs.
6 replies
CCConvex Community
•Created by Julián David on 9/10/2024 in #support-community
Convex Auth is not supporting Next.js RC with React 19 right?
I get this error from the @convex-dev/auth library:
Attempted import error: 'createContext' is not exported from 'react' .
6 replies