Closed nqd closed 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Could maintainers please take a look at this?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I also have this issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is it working with latest Loopback version (3.18.2) ?
@nqd @yaty The OAuth token must have scope DEFAULT
in addition to the the other scope devices
. Loopback will add the DEFAULT
scope to tokens that have no scopes, but in your case the token has the devices
scope set.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Description/Steps to reproduce
With loopback v3.9.0, loopback-component-oauth2, the ACL stopped working. It used to work with loopback v2.
Access return 401 error code.
This is the oauth boot script
Expected result
Additional information
linux x64 6.10.3
├── loopback@3.9.0 ├── loopback-boot@2.26.0 ├── loopback-component-explorer@2.7.0 ├── loopback-component-oauth2@3.0.0 ├── loopback-connector-mongodb@1.13.3 ├── loopback-connector-mysql@4.0.0 ├── loopback-connector-sendgrid@2.2.1 npm ERR! peer dep missing: kerberos@~0.0, required by mongodb-core@1.2.31
Do you have any hints?
Many thanks.