Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

add a recipe for custom auth strategies #885

Merged
merged 4 commits into from
Nov 3, 2017
Merged

add a recipe for custom auth strategies #885

merged 4 commits into from
Nov 3, 2017

Conversation

subodhpareek18
Copy link
Contributor

No description provided.

@subodhpareek18
Copy link
Contributor Author

subodhpareek18 commented Oct 24, 2017

Just checked the deploy, the recipe is not appearing on the sidebar actually. Not sure how to get it to appear there.

@daffl
Copy link
Member

daffl commented Oct 24, 2017

@subodhpareek18
Copy link
Contributor Author

Ready for reviewing 🙏

@EirikFA
Copy link

EirikFA commented Nov 2, 2017

Will the API key strategy work the same for socket.io?

@subodhpareek18
Copy link
Contributor Author

subodhpareek18 commented Nov 2, 2017

@FreeLineTM this exact example might not work, as sockets don't have headers. But as you can see the idea was to be able to create any custom auth module that suits your setup. You can pass a key in the body if you want and return a jwt with that, it's up to you. The two examples shared above were just the proof of concept, of creating JWTs or authenticating in a standard feathers/passport way.

@EirikFA
Copy link

EirikFA commented Nov 2, 2017

Alright, thanks! @subodhpareek18

@daffl
Copy link
Member

daffl commented Nov 3, 2017

Awesome, thank you!

@daffl daffl merged commit ea609eb into feathersjs-ecosystem:master Nov 3, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants