-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
False
-
False
-
-
-
-
-
-
Undefined
-
-
MP JWT 1.2 introduces the option of sending the JWT as cookie;
When the application's microprofile-config.properties is configured as follows:
mp.jwt.token.header=Cookie mp.jwt.token.cookie=jws-correct-cookie
And the request sends the JWT in a cookie named jws-wrong-cookie, we'd expect a 401 HTTP code, since authentication cannot happen;
Instead, the HTTP return code is 403 which means the request was authenticated but not authorized;