thongnguyenqtT
Convex Community13mo ago
2 replies
thongnguyenqt

Intergrate Github OAuth but cannot create new User

hello every one
I set up table like this (default)
import { defineSchema } from "convex/server";
import { authTables } from "@convex-dev/auth/server";

const schema = defineSchema({
...authTables,
});

export default schema;

but the git hub call back occur error like this

'Uncaught Error: Failed to insert or update a document in table "users" because it does not match the schema: Value does not match validator.
Path: .email
Value: null
Validator: v.string()


it's default and it's fail, I dont know why
Was this page helpful?