I tried to implement jwt authentication in loopback following this tutorial https://loopback.io/doc/en/lb4/Authentication-tutorial.html, but after implementing it and following the whole tutorial I am getting the error
group: RestMiddlewareGroups.AUTHENTICATION,
^
TypeError: Cannot read property 'AUTHENTICATION' of undefined
my package versions for loopback packages are
"@loopback/authentication": "8.0.0", "@loopback/authentication-jwt": "0.10.0",