Compiling
mvn clean package
Running
java -jar foldertohttp.jar --files.basePath=<files location> --login.username=<user> --login.password=<password>
Links
https://medium.com/google-cloud/understanding-oauth2-and-building-a-basic-authorization-server-of-your-own-a-beginners-guide-cf7451a16f66 https://dzone.com/articles/spring-boot-security-json-web-tokenjwt-hello-world https://www.baeldung.com/spring-security-oauth-jwt https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/