Skip to content

aaukhatov/spring-boot-auth

Repository files navigation

Spring Boot Auth Server Build Status

Build Jar

./gradlew clean build

Launch

java -jar build/libs/auth-server-0.1.0.jar

Build Docker Image

./gradlew clean buildImage

Launch Docker Container

docker run -ti --rm -p 8100:8100 aukhatov/srping-boot-auth-server:0.1.0

Get auth token

curl aaukhatov:ZAQxsw2@localhost:8100/oauth/token -d grant_type=password -d username=arthur -d password=secret