Skip to content

Micronaut swagger ui not working with micronaut-security dependencies #8907

Answered by graemerocher
subash89 asked this question in General
Discussion options

You must be logged in to vote

seems to be working as designed:

curl -i http://localhost:8080/swagger/views/swagger-ui
HTTP/1.1 401 Unauthorized
date: Wed, 8 Mar 2023 14:54:28 GMT
connection: keep-alive
transfer-encoding: chunked

Micronaut Security is locked down by default so you either need to authentication or open up to allow anonymous access

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@subash89
Comment options

Answer selected by subash89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants