Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does the library still work? #1

Closed
audy opened this issue Jan 21, 2015 · 7 comments
Closed

does the library still work? #1

audy opened this issue Jan 21, 2015 · 7 comments

Comments

@audy
Copy link

audy commented Jan 21, 2015

I'm trying to run some of the examples but just get a bunch of HTML.

#!/usr/bin/env node

var bank = require('bank');

var opt = {

  username: 'username',
  password: 'password',

};

var acct = bank.account(opt);

acct.balance(function(err, balance) {
  console.log('balance', balance);
});
@yocontra
Copy link
Owner

They added csrf tokens... I'll have to mess with this to make it work again 😦

@yocontra
Copy link
Owner

Published as 0.0.3

@kwyn
Copy link

kwyn commented Mar 16, 2015

Did this actually solve the problem I've been unsuccessful with the sample code. i've been getting redirect back to the login page. Are they still using just session cookies and csrf tokens for auth?

@yocontra
Copy link
Owner

@HarleyKwyn Hmm tested it with my stuff on 0.0.3 and it seemed to work after the update (this was January though). Broken again? I think they are trying to break this every time I update it

@yocontra
Copy link
Owner

Just tested it again, works fine. Make sure your username and password are correct

@kwyn
Copy link

kwyn commented Mar 16, 2015

Hmmm alright. I'll keep trying. Thanks for checking for me! Also for
figuring out that you can just make form requests for login. Super clever.
On Mon, Mar 16, 2015 at 08:41 contra notifications@github.com wrote:

Just tested it again, works fine. Make sure your username and password are
correct


Reply to this email directly or view it on GitHub
#1 (comment).

@yocontra
Copy link
Owner

If it still doesn't work go ahead and open a new github issues so we can figure it out there 👍

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

No branches or pull requests

3 participants