feathersjs / docs

[MOVED] Legacy Feathers documentation
https://crow.docs.feathersjs.com/
MIT License
242 stars 532 forks source link

Update apiKey.md #1527

Closed ajmeyghani closed 2 years ago

ajmeyghani commented 3 years ago

Reading the token from the query parameters can cause confusion, especially when it comes to get and find calls if you are not careful. You have to set up a hook to check for a specific query parameter and remove it before it's called by Feathers. It's just better to read if from the request headers, but if you have a specific use cause to read the token from query params, then you have to filter it out properly before the call is made by Feathers.

daffl commented 2 years ago

Thank you!