Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to Spring Boot 3.x introduced issues in Spring Security configuration #233

Closed
petruki opened this issue Jun 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@petruki
Copy link
Member

petruki commented Jun 28, 2023

Describe the bug
Throwing ResponseStatusException causes the controller to return not authorized (401) requests as the /error falls back in the chain as the session policy defined is STATELESS

To Reproduce
Steps to reproduce the behavior:

  1. Call any route that should return an error different from 401

Expected behavior
For a not found element - 404 and so on and so forth

@petruki petruki added the bug Something isn't working label Jun 28, 2023
@petruki petruki added this to the v1.0.8 milestone Jun 28, 2023
@petruki petruki self-assigned this Jun 28, 2023
petruki added a commit that referenced this issue Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant