karnith / gaowlpass Goto Github PK
View Code? Open in Web Editor NEWSame GAOWL project, but using Passport for authentication
License: MIT License
Same GAOWL project, but using Passport for authentication
License: MIT License
I'm trying to get google oauth authentication. I'm not having any luck with google-oauth. Upon the redirect from google's permission page, it throw an error and I have no idea why.
info: Getting User Profile...
info: Checking if user already exists in database....
warn: User not found, creating user profile....
info: User dan Pak profile has been created.
/Volumes/Storage/Projects/GAOWLPass/node_modules/waterlock/lib/engine.js:43
if(!auth.user){
^
TypeError: Cannot read property 'user' of undefined
at Object._attachAuthToUser (/Volumes/Storage/Projects/GAOWLPass/node_modules/waterlock/lib/engine.js:43:15)
at /Volumes/Storage/Projects/GAOWLPass/node_modules/waterlock/lib/engine.js:98:16
at bound (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/lodash/dist/lodash.js:957:21)
at applyInOriginalCtx (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:416:80)
at wrappedCallback (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/lib/waterline/utils/normalize.js:315:18)
at _normalizeCallback.callback.success (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/normalize.js:33:31)
at _switch (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/node_modules/node-switchback/lib/factory.js:35:28)
at returnResults (/Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:168:9)
at /Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/basic.js:79:16
at /Volumes/Storage/Projects/GAOWLPass/node_modules/sails/node_modules/waterline/lib/waterline/query/finders/operations.js:77:45
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.