OIDC or JWT Authorization error: Token expiration. #9591
Labels
area/oidc
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
If I have an expired token then every request I make returns a response with no content, with status 403 forbidden, then I have an ExceptionMapper from ForbiddenException and it doesn't return the response I want. It still comes out no content with status 403.
Expected behavior
Should response with the ExceptionMapper with ForbiddenException
Actual behavior
Response with no content with status 403
To Reproduce
Steps to reproduce the behavior:
Bearer eyyyXxxx1212
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
uname -a
orver
:Darwin Juans-MBP.lan 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
java -version
:openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
mvnw --version
orgradlew --version
):Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
The text was updated successfully, but these errors were encountered: