Closed hhchow7 closed 3 years ago
There are multiple options:
I see you don't use hooks in this authentication service, you could add an after hook to the Create path for this Authentication service. You could also overrite the entire create method to return an adjusted output.
Customizing the create hook: https://docs.feathersjs.com/api/authentication/service.html#customization
Every time I login, below body is passed:
And then return:
I want to add below json in the context object:
How to do it?