Open kosicki123 opened 7 years ago
The problem was validateScope method. Commenting it fixed the issue, but probably mess up another thing.
Any idea on how to properly validate the scope? Scope parameter is always undefined. function validateScope(user, client, scope) { }
@kosicki123 Have you solved it yet ?!
It works for me after I replaced: function validateScope(token, client) { with function validateScope(user,client,scope) {
Nope, still unsolved :(
This should work
function validateScope(user, client, scope) { return (user.scope === 'profile') ? 'profile' : false }
Hi, I'm having this error using MySQL. I've just changed the path to the database. Nothing else was changed. Any ideas? { "statusCode": 503, "status": 503, "code": 503, "message": "user is not defined", "name": "server_error", "inner": {} }