backpack1098B
Convex Community6mo ago
5 replies
backpack1098

signIn started to error out

hi all, im using convex auth for the sign in and it started to error out the past few days. has been working like a charm in the past
Sep 21, 19:41:02.850
failure

62ms
M

auth:store
Uncaught TypeError: Must provide arg 1 `id` to `get`

Sep 21, 19:41:02.872
failure

302ms
A

auth:signIn
Uncaught Error: Uncaught TypeError: Must provide arg 1 `id` to `get`

any idea what's wrong?
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
  providers: [
    ConvexCredentials({
      authorize: async (credentials, ctx) => {
        // create user mutation 
        
        return {
          userId
        }
      }
    })
  ]
})
Was this page helpful?