So you have added Springdoc to your Spring Boot service and everything is working beautifully until you add Spring Security. Suddenly your Swagger UI returns a 401 and you are left wondering whether the problem is your security configuration, your custom error handling, or something else entirely.
I spent a