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

OpenAPI docs redired url fixed. SecurityConfiguration adding Custom-Exceptions for 401/Unauthorized and 403/Forbidden #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Saidafzalkhon
Copy link

When I used this OpenAPI I figured out several problems. I resolved this following examples: OpenAPI docs changed to default url like (http://localhost:8080). As well as found problem with SecurityConfiguration before it responses only 403/Forbidden, Now it works true if error suitable with 401/Unauthorized or 403/Forbidden

…I. Adding SecurityConfiguration.java custom exception handler. Adding custom security exception handler CustomAccessDeniedHandler.java and CustomAuthenticationEntryPoint.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant