Skip to content

daggerok/yet-another-oauth-spring-security-example

Repository files navigation

сисюрити... CI

oauth2 client and auth-server

Status: IN PROGRESS (oauth2-auth-server)

rm -rf oauth2-auth-server/src/main/resources/.oauth2.keystore
keytool -genkey -noprompt -alias oauth2-app -storetype PKCS12 -keyalg RSA -keysize 4096 -validity 3650 \
  -dname "CN=oauth2-auth-server-127-0-0-1.nip.io, OU=TEST, O=DAGGEROK, L=Odessa, S=OD, C=UA" \
  -storepass .oauth2.keystore.password -keypass .oauth2.keystore.password \
  -keystore oauth2-auth-server/src/main/resources/.oauth2.keystore

./mvnw clean resources:resources package
java -jar oauth2-auth-server/target/*.jar &
java -jar oauth2-client/target/*.jar &

# wait for ports: 8000, 8080

resources

Releases

No releases published

Packages

No packages published