function(accessToken, refreshToken, profile, done) {
// Here you want to lookup or create the user in the database
/* User.findOrCreate(…, function(err, user) {
if (err) { return done(err); }
done(null, user);
}); */
}
How can I do a database query?
By following the instructions from the mysql 2 npm package? https://www.npmjs.com/package/mysql2
Or is there a way to use wappler queries in a server connect extension?