added user controller and modified auth method page

This commit is contained in:
Sheen Capadngan
2023-08-06 19:09:38 +08:00
parent 49bcd8839f
commit 5604232aea
8 changed files with 123 additions and 47 deletions
+1
View File
@@ -13,6 +13,7 @@ export interface IUser extends Document {
_id: Types.ObjectId;
authId?: string;
authProvider?: AuthProvider;
authProviders?: AuthProvider[];
email: string;
firstName?: string;
lastName?: string;