-
Hello, Let me explain, when you create a feathers app, we use the User collection (or table for SQL) to do the authentication. Authentication 2 seems to be ready, I can create a Talent, then I can make a call on "/talent-authentication" and I'm getting a JWT + talent information. But when I'm trying to protect services with authentication 2, I'm getting this error
I configured default.json
and in the hook's service I wanna protect
If someone can tell me if what I'm trying to do is possible and if so how to do it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The format for the authenticate({
strategies: [ 'jwt' ],
service: 'talent-authentication'
}) |
Beta Was this translation helpful? Give feedback.
The format for the
authenticate
hook to use a different authentication service (https://docs.feathersjs.com/api/authentication/hook.html#authenticate-options) is: