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

[1.0] The entity on the socket should pull from the strategy options. #348

Closed
ekryski opened this Issue Nov 23, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@ekryski
Copy link
Member

ekryski commented Nov 23, 2016

Steps to reproduce

Set up a strategy with an entity that is different than user, say organization.

Expected behavior

The socket object should have socket.feathers.organization and hooks should have hook.params.organization.

Actual behavior

It's always socket.feathers.user.

System configuration

Tell us about the applicable parts of your setup.

Module versions : v1.0.0-beta

ekryski added a commit that referenced this issue Nov 23, 2016

checking strategy options on sockets. Now supporting entity id for JW…
…T payload. Only auth passed strategy. Closes #346. Closes #348.

@ekryski ekryski closed this in 5cd6214 Nov 23, 2016

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.