2.1.0 • Published 8 years ago

@getmylo/feathers-authentication-compatibility v2.1.0

Weekly downloads
22
License
ISC
Repository
github
Last release
8 years ago

feathers-authentication-compatibility

This module keeps the old client libraries 0.x using auth local and socket.io compatible with auk style login 1.0+.

Usage

   npm install feathers-authentication-compatibility

const authenticationCompatibility = require('feathers-authentication-compatibility');
// after app.configure(authentication);
app.configure(authenticationCompatibility({ options }));

Defaults for options are:

  • path: '/authentication',
  • legacyPath: '/auth/local',
  • userEndpoint: 'users',
  • socket: true,
  • acceptLegacyTokens: true,
  • returnUser: true,
  • returnToken: true
2.1.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago