Closed ekryski closed 7 years ago
See this line.
// in config { "auth": { "secret": "TpJUzOHgY5D2PHV9RSmLJT4x/IH2RAWtHkGPgDlSXY/xXwOrSZGx2xy9CupED0+dFsbIaA3wfwYaBVyqoLm6uQ==", "local-device": { "usernameField": "clientId", "passwordField": "clientSecret", "entity": "device", "service": "devices" } } }
// in code app.configure(authentication(app.get('auth'))) .configure(local()) .configure(local({ name: 'local-device' }))
local-device doesn't pull from the main auth config.
local-device
Should be able to put custom local strategy options in the auth config.
Instead it uses the default config.
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.2.0
See how it is done in the OAuth2 plugin. Should probably just be the same.
See this line.
Steps to reproduce
local-device
doesn't pull from the main auth config.Expected behavior
Should be able to put custom local strategy options in the auth config.
Actual behavior
Instead it uses the default config.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.2.0