Try to add below lines in your application.properties file security.basic.enable: false security.ignored=/** According to spring doc, use security.ignored=