Closed annibuliful closed 6 years ago
I log in with Google user. in the first time I got a normal message. in the second time I got error message that cannot login
I got this error after I try to login with a Google user
NodeJS version: "feathers": "^2.2.3", "feathers-authentication": "^1.3.1", "feathers-authentication-hooks": "^0.1.5", "feathers-authentication-jwt": "^0.3.2", "feathers-authentication-local": "^0.4.4", "feathers-authentication-oauth2": "^0.3.2", "feathers-configuration": "^0.4.2", "feathers-errors": "^2.9.2", "feathers-hooks": "^2.1.2", "feathers-hooks-common": "^3.10.0", "feathers-mongoose": "^5.1.2", "feathers-rest": "^1.8.1", "feathers-socketio": "^2.0.1", "feathers-sync": "^0.1.4", "helmet": "^3.9.0", "mongoose": "^4.13.4", "nodemailer": "^4.4.0", "passport-google-oauth": "^1.0.0", "passport-google-oauth2": "^0.1.6", "passport-google-oauth20": "^1.0.0", "serve-favicon": "^2.4.5", "uuid": "^3.1.0", "winston": "^2.4.0"
I removed restrictToOwner() from authentication service's hook to fix it
I log in with Google user. in the first time I got a normal message. in the second time I got error message that cannot login
I got this error after I try to login with a Google user
NodeJS version: "feathers": "^2.2.3", "feathers-authentication": "^1.3.1", "feathers-authentication-hooks": "^0.1.5", "feathers-authentication-jwt": "^0.3.2", "feathers-authentication-local": "^0.4.4", "feathers-authentication-oauth2": "^0.3.2", "feathers-configuration": "^0.4.2", "feathers-errors": "^2.9.2", "feathers-hooks": "^2.1.2", "feathers-hooks-common": "^3.10.0", "feathers-mongoose": "^5.1.2", "feathers-rest": "^1.8.1", "feathers-socketio": "^2.0.1", "feathers-sync": "^0.1.4", "helmet": "^3.9.0", "mongoose": "^4.13.4", "nodemailer": "^4.4.0", "passport-google-oauth": "^1.0.0", "passport-google-oauth2": "^0.1.6", "passport-google-oauth20": "^1.0.0", "serve-favicon": "^2.4.5", "uuid": "^3.1.0", "winston": "^2.4.0"