News for hackers. Stuff that matters.

adodson

Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @06:15PM (#8305504)
Make a server-to-server call using the token to check its validity.

There's more comments on this subject here https://github.com/MrSwitch/hello.js/issues/22

Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @05:58PM (#8305412)
Point and space taken. Now it is readable - and I rather dread the consequences.
Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @08:15AM (#8302099)
@ishi take a look at this example http://adodson.com/hello.js/demos/friends.html
Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @06:18AM (#8301737)
I couldn't find any examples of JSON Web Token in the client. But if the security model supports it then i'd like to entertain the idea.
Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @02:27AM (#8301162)
Yes, but its a pretty arduous task digesting and implementing API docs. That pain was the impetus to standardize them into the HelloJS library.
Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @02:18AM (#8301145)
PassportJS = NodeJS authentication, designed for single sign-on.

HelloJS = Browser + Phonegap authentication and API request handling designed to interact with thirdparty services from the client app.

Re:HelloJS – Client-side OAuth for JS on Thursday September 11, 2014 @12:02AM (#8300817)
Nice endorsement
Re:HelloJS – Client-side OAuth for JS on Wednesday September 10, 2014 @11:59PM (#8300805)
Use node for bundling+minification.

Its on npm for convenience. I also hope to make it compatible with CommonJs and have components of it work through the server.

Not all services support server-less authentication otherwise known as Implicit OAuth2. As such, i've put a proxy service up on Heroku. Read up at http://adodson.com/hello.js/#oauth-proxy

Re:HelloJS – Client-side OAuth for JS on Wednesday September 10, 2014 @11:26PM (#8300715)
Thanks for sharing my project HelloJS