Open jeson114 opened 7 years ago
auth.config({ username: username, password: password, otp:otp }).login(scopes, function (err, id, token) { if (err == null) { console.log(id); console.log(token); } else { console.log(err); } });
The snippet above throws an Error saying :Error: Validation Failed at Request._callback (/node_modules/octonode/lib/octonode/auth.js:90:31)
Error: Validation Failed at Request._callback (/node_modules/octonode/lib/octonode/auth.js:90:31)
@jeson114 How are you getting the OTP?
Through google authenticator
The snippet above throws an Error saying :
Error: Validation Failed at Request._callback (/node_modules/octonode/lib/octonode/auth.js:90:31)