Skip to content

Instantly share code, notes, and snippets.

@green3g
Created January 19, 2018 15:10
Show Gist options
  • Save green3g/61984d0deac10aade05ab9f464ca41b5 to your computer and use it in GitHub Desktop.
Save green3g/61984d0deac10aade05ab9f464ca41b5 to your computer and use it in GitHub Desktop.
"authentication": {
"secret": "secret",
"strategies": [
"jwt",
"local",
"cookie"
],
"path": "/authentication",
"service": "api/users",
"cookie": {
"enabled": true,
"name": "feathers-jwt",
"domain": "localhost",
"httpOnly": false,
"secure": false
},
"jwt": {
"header": {
"typ": "access"
},
"subject": "anonymous",
"issuer": "feathers",
"algorithm": "HS256",
"expiresIn": "8h"
},
"local": {
"entity": "user",
"service": "api/users",
"usernameField": "\\username",
"passwordField": "password"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment