Closed Khushi-S-29 closed 1 week ago
@Khushi-S-29 You need to fix the type error that typescript is giving only
type User = {
id: string;
username: string;
email: string;
// Add other properties as needed
};
// Serialize user
passport.serializeUser<User, User>((user, done) => {
done(null, user);
});
@Khushi-S-29 this is an example ,check if it works ! instead of using any and void types
Fixing typeerror in the google oauth