SvZ ( > ^ ^)>
SvZ ( > ^ ^)>
CCConvex Community
Created by SvZ ( > ^ ^)> on 12/8/2024 in #support-community
Next.js 15 Convex Auth unable to login with Google OAuth
Upgrading to the new auth/core resulted in the issue. In convex logs I see - /api/auth/callback/google error '(void 0) is not a function ' Works with version - "@auth/core": "0.36.0", Breaks when using upgrading to: "@auth/core": "^0.37.0", Only changes in code made were for next.js 15 to await the cookies(), convexAuthNextjsToken(), convexAuth.isAuthenticated(). No other changes were made, unsure if there is anything else I need to adjust. Small edit only the auth/core breaks the google auth.
6 replies
CCConvex Community
Created by SvZ ( > ^ ^)> on 10/11/2024 in #support-community
How to query an array in filter or withIndex
I want to query an array of users by either filter or withindex, any assistance will be great. Example of schema - chat: defineTable({ isGroupChat: v.boolean(), participants: v.array(v.id("users")), chatContext: v.optional(v.string()), }) .index("participants", ["participants"]) Want to filter out by the userID inside of the participants... please don't say I need to fetch the entire chat and then filter it out.
5 replies