3.0.0 • Published 6 years ago

hapi-fxa-oauth v3.0.0

Weekly downloads
6
License
MPL-2.0
Repository
github
Last release
6 years ago

Hapi auth plugin for Firefox Accounts

This is a simple authentication plugin for Hapi applications to become Firefox Accounts OAuth service providers. It accepts FxA bearer tokens in the Authorization header, verifies them against the hosted FxA verifier, and sets the returned user data as the request credentials.

Enable it in your Hapi server configuration like so:

server.register({
  register: require('hapi-fxa-oauth')
})

Or customize things like so:

server.register({
  register: require('hapi-fxa-oauth'),
  options: {
    url: 'https://oauth-stable.dev.lcip.org', // FxA dev server
    keepAlive: false,                         // don't hold connections open
  }
})
3.0.0

6 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

10 years ago