@getmylo/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+`.

Stats

StarsIssuesVersionUpdatedCreatedSize
@getmylo/feathers-authentication-compatibility
2.1.04 years ago4 years agoMinified + gzip package size for @getmylo/feathers-authentication-compatibility in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.