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

Swap out jsonwebtoken for iron module? #27

Closed
nelsonic opened this issue Apr 11, 2015 · 4 comments
Closed

Swap out jsonwebtoken for iron module? #27

nelsonic opened this issue Apr 11, 2015 · 4 comments

Comments

@nelsonic
Copy link
Member

in #25 @poeticninja mentioned switching from jsonwebtoken to _iron_ for the JSON token encryption.

While we _love_ the work @hueniverse & Co. are doing with iron (and _trust_ him on security matters), we like the fact jwt has a Spec which means if people want to use multiple backends (e.g. Node/Scala/Go/Erlang) there are already modules they can use to sign/decode JWTs ... also the fact that Auth0 are invested in maintaining the node-jsonwebtoken module gives us (some) assurance that our backs are covered...

We are torn. 😕

@evilpacket what are the fine folks @liftsecurity recommending for people building Hapi Apps/APIs who can't (or don't want to) use a 3rd Party/SASS Authentication Service?

discuss (thanks!)

@poeticninja
Copy link

@nelsonic Sorry. You miss understood me in the issue (#25). For this plugin I would be using jsonwebtoken. I was just trying to point out how they use iron and this plugin uses jsonwebtoken and that should be the main difference.

The reason why people are going to want to use this plugin in Hapi is because they want jsonwebtokens in there application.

Sorry for the confusion.

@nelsonic
Copy link
Member Author

Gotcha! 👍

@poeticninja
Copy link

😄

@nelsonic
Copy link
Member Author

Cool. Glad we're on the same page. Closing this. 👍

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

No branches or pull requests

2 participants