From ch411
In middlewares.js, we check for an Authorization header, and then assume that it will be of type Bearer. If there is another Authorization header (not Bearer), the RegExp on line 6 doesn't match properly and we get No such property 1 of undefined on line 10.
Found while debugging with @bundacia.
Note that idm-jwt-auth is used in game and idm, so once we update and release a new version of this package we'll need to redeploy each of those services with the new version.
From ch411
In middlewares.js, we check for an
Authorizationheader, and then assume that it will be of typeBearer. If there is anotherAuthorizationheader (notBearer), the RegExp on line 6 doesn't match properly and we getNo such property 1 of undefinedon line 10.Found while debugging with @bundacia.
Note that
idm-jwt-authis used in game and idm, so once we update and release a new version of this package we'll need to redeploy each of those services with the new version.