Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Error: Validation Failed on Login with 2FA #280

Open
jeson114 opened this issue Jul 6, 2017 · 2 comments
Open

Error: Validation Failed on Login with 2FA #280

jeson114 opened this issue Jul 6, 2017 · 2 comments

Comments

@jeson114
Copy link

jeson114 commented Jul 6, 2017

 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)

@jeson114 jeson114 changed the title Error: Validation Failed Error: Validation Failed on Login with 2FA Jul 6, 2017
@pksunkara
Copy link
Owner

@jeson114 How are you getting the OTP?

@jeson114
Copy link
Author

Through google authenticator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants