koding / kite.js

Kite client in JavaScript
kite.koding.com
MIT License
75 stars 16 forks source link

expiring tokens: WIP #11

Closed humanchimp closed 10 years ago

humanchimp commented 10 years ago

Note: This is a WIP, and it isn't ready to be merged yet. Opening this PR for discussion.

humanchimp commented 10 years ago

It seems like getToken is causing this:

Error in received message: kite error genericError - runtime error: invalid memory address or nil pointer dereference

But it's not returning in error, but instead returning a null token. I think it should respond with an error instead.

cenkalti commented 10 years ago

@humanchimp I will try to fix the error tonight.

humanchimp commented 10 years ago

OK, this is ready to go. I'mma rebase it first tho. Will merge it over the weekend

humanchimp commented 10 years ago

merged in #16