8000 Add JWT getEntityQuery by burn2delete · Pull Request #2013 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Add JWT getEntityQuery#2013

Merged
daffl merged 8 commits intofeathersjs:crowfrom
burn2delete:jwt-entity-query
Jul 24, 2020
Merged

Add JWT getEntityQuery#2013
daffl merged 8 commits intofeathersjs:crowfrom
burn2delete:jwt-entity-query

Conversation

@burn2delete
Copy link
Contributor
@burn2delete burn2delete commented Jul 13, 2020

Brings both local-strategy and jwt-strategy into alignment.

Added getEntityQuery to JWT strategy, allows extending JWT class to include additional query parameters in entity lookup.

Closes #2007

@daffl
Copy link
Member
daffl commented Jul 24, 2020

Alright, I updated it so that getEntityQuery goes back to the default behaviour since it looked like it was a regression for some people. Basically what you should be able to do now is customize the strategy and change getEntityQuery to return the query object you need based on the original params.

@daffl daffl merged commit e0e7fb5 into feathersjs:crow Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue authenticating user via JWT when users service requires query params

2 participants

0