Replies: 1 comment 1 reply
-
Seems like an issue with
so please show the error |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm setting up a frontend to use Lucia for oauth authentication. I've followed the oauth tutortial as well as the instruction for using the lucia adapter to set up mongodb.
I see in the callback I am successfully getting the user but in the client side when using useUser or useAuthenticatedUser, I am getting null everytime.
Could it be the server/utils/auth.ts file I created? I combined the oauth tutorial with the mongodb adapter instructions into the one file and typescript seems to be not happy with SessionDoc as well as User
Beta Was this translation helpful? Give feedback.
All reactions