How to add basic authentication in springfox swagger2

The swagger user interface is currently open without any security scheme. You must implement basic auth for the swagger user interface. This way, every time it issues a username and password before displaying the user interface.

I authenticated with ApiKey but could not configure for BasicAuth.

Very new to spring

+4
source share

Source: https://habr.com/ru/post/1649238/


All Articles