Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Socket.io timeout does nothing when there is JWT token available #19

Closed
marshallswain opened this issue Jan 3, 2017 · 1 comment
Closed

Comments

@marshallswain
Copy link
Member

@Creiger commented on Mon Dec 19 2016

Steps to reproduce

When the feathers server is not running and there is already a JWT token stored in client cookies, this function

app.authenticate().then(showApplication, showLogin);

never fires anything. It does not throw any error also. When i delete JWT token, showLogin function is fired.

Expected behavior

I think this should throw an error after socket.io timeout set in app configuration.

Actual behavior

Does nothing.


@marshallswain commented on Tue Jan 03 2017

Thanks @Creiger I'm moving this to the feathers-authentication-client repo.

@marshallswain
Copy link
Member Author

This will also need fixing in the old feathers-authentication/client plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant