Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication over never answers #428

PierBover opened this Issue Mar 1, 2017 · 3 comments


None yet
2 participants
Copy link

PierBover commented Mar 1, 2017

When using rest everything works fine, but when doing authenticate(...) from the client using the promise never resolves or rejects.

We can see in the logs that the requests are indeed reaching the server at / and queries are being done on the DB... but in the client nothing happens.

This is how we configure feathers client:

const socket = io('');

const client = Feathers()
	storage: localStorage,
	path: '/auth/local'
}));'upgrade', function(transport) {
	console.log('transport changed');


const options = {
	strategy: 'local',

FeathersClient.authenticate(options).then((response) => {
}).catch((error) => {
	console.log("Authentication error", error);

Any idea what might be happening?


This comment has been minimized.

Copy link

daffl commented Mar 1, 2017

Please send the versions of the server and client packages you are using (npm ls feathers-authentication).


This comment has been minimized.

Copy link

PierBover commented Mar 1, 2017

We are using 0.1.9 in the client and 0.7.12 in the server.


This comment has been minimized.

Copy link

PierBover commented Mar 1, 2017

@daffl pointed out via Slack that I need to use feathers-authentication@0.7.x/client and not feathers-authentication-client

@PierBover PierBover closed this Mar 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.