-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Steps to reproduce
The explorer seems to require authentication when it is set:
// Customize @loopback/authentication configuration here
this.configure(AuthenticationBindings.COMPONENT).to({
defaultMetadata: {
strategy: 'JWTStrategy'
}
})
this.component(AuthenticationComponent);
registerAuthenticationStrategy(this, JWTAuthenticationStrategy)
Expected Behavior
Should be set on all controllers, only controllers
Additional information
➜ xxxxxx-monitor-api git:(master) ✗ node -e 'console.log(process.platform, process.arch, process.versions.node)'
npm ls --prod --depth 0 | grep loopbackdarwin x64 14.4.0
➜ xxxxxx-monitor-api git:(master) ✗ npm ls --prod --depth 0 | grep loopback
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── @loopback/[email protected]
├── [email protected]
➜ xxxxxx-monitor-api git:(master) ✗
Related Issues
See Reporting Issues for more tips on writing good issues
