You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
CORS Filter should not return an error when the token is expired, but a valid HTTP 401 response code is expected. This is probably due to the Shiro Filter being called, and returning an error, before the CORS filter can act, or due to a CORS Filter error during the execution
To Reproduce
Steps to reproduce the behavior:
Login with REST API and obtain an Access Token
Let the Access Token expire
Perform a REST API call after the token has expired
See error
Expected behavior
An HTTP 401 response should be returned
Version of Kapua
1.4.4
Type of deployment
[x] Local Vagrant deployment
[x] Docker
[x] Openshift (in its variants)
[x] Others
Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[x] REST API
[ ] Message Broker
[ ] - Others
The text was updated successfully, but these errors were encountered:
Describe the bug
CORS Filter should not return an error when the token is expired, but a valid HTTP 401 response code is expected. This is probably due to the Shiro Filter being called, and returning an error, before the CORS filter can act, or due to a CORS Filter error during the execution
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An HTTP 401 response should be returned
Version of Kapua
1.4.4
Type of deployment
[x] Local Vagrant deployment
[x] Docker
[x] Openshift (in its variants)
[x] Others
Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[x] REST API
[ ] Message Broker
[ ] - Others
The text was updated successfully, but these errors were encountered: