Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feathers-authentication 'local' strategy requires token? #394
Posted this question on stackoverflow, but perhaps it's better to ask it here. As I'm pretty new with Feathers, please accept my apologies if the question is unclear or simply stems an ignorance about Node.
Steps to reproduce
I'm using the authentication-client with:
Then in the client I have something like this:
Should I get a token in response when using local strategy? Should I send it as a param along with the .get for the user? I suppose not, what am I missing? No luck with the docs so far.
Im relying on these recommendations for authentication v1 :
In my config:
I'm using the proposed hooks in the user service and one hook for authentication service, seen here:
Is that hepful?
That would be awesome!
I didn't figure this out yet. I feel I'm missing something.
My repo is here, just in case: https://github.com/MidnightP/Feathers-React-Starterkit