1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/legacy/spikes/auth/bell
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00
..
src chore: initial lerna setup 2017-05-25 10:56:50 +01:00
static chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.gitignore chore: initial lerna setup 2017-05-25 10:56:50 +01:00
package.json chore: initial lerna setup 2017-05-25 10:56:50 +01:00
readme.md chore: initial lerna setup 2017-05-25 10:56:50 +01:00

hapi

Integrations to consider:

Aspects to consider:

  • Hapi integration
  • Consistency
  • Battle tested

Regarding "Battle tested":

Bell has 383 stars and 8664 downloads in the last month. It's nowhere near the 757640 downloads that passport has. However Eran Hammer was the lead author and editor of the OAuth2 spec and although he isn't the official maintainer of Bell, he was the creator of it and the second most active contributor.

I wasn't able to find a list of companies using it, I found that developers from the following companies contributed to it:

  • Joyent
  • Walmart Labs
  • Booking.com
  • Microsoft
  • Expedia
  • Yahoo

Being the official Hapi module for third-party authentication, I think it's safe to assume that most companies using Hapi that have this need use this module.

example stratagies.json

[{
  "provider": "twitter",
  "password": "YChZVgVJQyG0Te3lpYzc+9Ag0PuQfUX0ilG3nHIvIlU=",
  "clientId": "",
  "clientSecret": "",
  "isSecure": false
}, {
  "provider": "github",
  "password": "YChZVgVJQyG0Te3lpYzc+9Ag0PuQfUX0ilG3nHIvIlU=",
  "clientId": "",
  "clientSecret": "",
  "isSecure": false
}]