Closed RobIsHere closed 7 years ago
I have a configuration in place exactly like in the docs at https://docs.feathersjs.com/api/authentication/server.html
and feathers-authentication-jwt complains at https://github.com/feathersjs/feathers-authentication-jwt/blob/master/src/index.js#L40 that "header": { "type": "access" } may not be an object.
excerpt from config:
"authentication": { "header": "Authorization", "secret": "...", "jwt": { "header": { "type": "access" }, "audience": "mydomain.de", "subject": "access", "issuer": "mydomain.de", "algorithm": "HS256", "expiresIn": "14d" },
I think there is a collision of the header configurations being merged somehow?
My project is pretty new set up with feathers-generate.
I'll close that issue, as it seems to continue in generator-feathers#278
I have a configuration in place exactly like in the docs at https://docs.feathersjs.com/api/authentication/server.html
and feathers-authentication-jwt complains at https://github.com/feathersjs/feathers-authentication-jwt/blob/master/src/index.js#L40 that "header": { "type": "access" } may not be an object.
excerpt from config:
I think there is a collision of the header configurations being merged somehow?
My project is pretty new set up with feathers-generate.