Repository navigation
|
I am attempting to secure my Spring Boot service with KeyCloak using the keycloak-adapter. I have been able to secure my endpoints. The issue I have is when I hit the endpoint using an expired/invalid token, I receive a 404 Not Found error. I was expecting a 401 exception instead. I am sure I am just missing something. Any ideas? |
Answered by
wward88
May 15, 2023
Replies: 1 comment
|
The issue was caused by the spring boot security dependency that I had. After removing this dependency, I received a 401 exception as I expected. |
0 replies
Answer selected by
wward88
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue was caused by the spring boot security dependency that I had. After removing this dependency, I received a 401 exception as I expected.