feathersjs-ecosystem/feathers-authentication-management

Docs misunderstanding

mogadanez opened this issue · 4 comments

Client configuration say:

import authManagementService from 'feathers-authentication-management';
app.configure(authManagementService(options))
const authManagement = app.service('authManagement');

but looks like 2 first lines is server configuration. for client only last required. more one, first 2 lines makes it not works at all

I agree most of the time the 3rd line would be used only on the client. However the repo can be called from the server also.

Yeah, confusing.

Done. Please make any additional comments in authentication-local-management.

Full details on the authentication-local-management rewrite at in https://github.com/feathers-plus/authentication-local-management/blob/master/misc/upgrading.md