AuthConfig not found in convex/server package (Auth0 & NextJs setup)
I've been working on a simple project that integrates Auth0 into a NextJs & Convex app. This is not the first time of me using this setup, but I'm running into a few problems at the moment.
The problems (see example code below):
- Users are able to log in via Auth0, session is available etc,
auth.config.ts is setup, env vars setup, providers set, but the user stays unauthenticated in convex client & server functions. (no errors, just null user in convex, in auth0 user is defined)- The AuthConfig type from convex/server in
auth.config.ts ` cannot be found.
Module '"convex/server"' has no exported member 'AuthConfig'``My simple setup:
https://pastebin.com/ZfjDpxX4
