feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
15.03k stars 748 forks source link

fix(authentication): Ensure authentication.entity configuration can be null #3136

Closed psi-4ward closed 1 year ago

psi-4ward commented 1 year ago

If the authentication does not need a (user)-service one can set authentication.entity = null which disables service validation but the base authenticationSchema does not allow using null in a config-json.

daffl commented 1 year ago

Great, thank you for the quick fix!