You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this by design or by accident that the authenticate() hook bundled in @feathersjs/authentication no longer sets context.params.authenticated = true? This breaks users of makeCallingParams that are relying on this param to be passed through to nested service calls. The old hook was setting it: https://github.com/feathersjs/authentication/blob/master/lib/hooks/authenticate.js#L80.
The text was updated successfully, but these errors were encountered:
I had to create such a proxy hook in my app, otherwise it's inconvenient to forward calls to other services from already authenticated services (since they rerun authentication() hook logic instead of skipping it):
Is this by design or by accident that the
authenticate()
hook bundled in@feathersjs/authentication
no longer setscontext.params.authenticated = true
? This breaks users ofmakeCallingParams
that are relying on this param to be passed through to nested service calls. The old hook was setting it: https://github.com/feathersjs/authentication/blob/master/lib/hooks/authenticate.js#L80.The text was updated successfully, but these errors were encountered: