Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Problem with "header" configuration. Collision of config options? #34

Closed
RobIsHere opened this issue Sep 12, 2017 · 1 comment
Closed

Comments

@RobIsHere
Copy link

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.

@RobIsHere
Copy link
Author

I'll close that issue, as it seems to continue in generator-feathers#278

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant