Better HN
topnewbestaskshowjobs
Log inSign up

adodson

2 karma · joined Sep 11, 2014 (12y ago) · 9 submissions

Submissions

comment 12y ago · link · parent

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

comment 12y ago · link · parent

Point and space taken. Now it is readable - and I rather dread the consequences.

comment 12y ago · link · parent

@ishi take a look at this example http://adodson.com/hello.js/demos/friends.html

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Yes, but its a pretty arduous task digesting and implementing API docs. That pain was the impetus to standardize them into the HelloJS library.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Nice endorsement

comment 12y ago · link · parent

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

comment 12y ago · link · parent

Thanks for sharing my project HelloJS