Joe Grandja 6e2f2fe8a4 Lock Dependency Versions for 0.0.3 release %!s(int64=4) %!d(string=hai) anos
..
authorizationserver 6e2f2fe8a4 Lock Dependency Versions for 0.0.3 release %!s(int64=4) %!d(string=hai) anos
client 6e2f2fe8a4 Lock Dependency Versions for 0.0.3 release %!s(int64=4) %!d(string=hai) anos
resourceserver 6e2f2fe8a4 Lock Dependency Versions for 0.0.3 release %!s(int64=4) %!d(string=hai) anos
README.adoc 72ec2633f8 Remove formLogin() from client sample app %!s(int64=5) %!d(string=hai) anos

README.adoc

= OAuth 2.0 Integration Sample

This sample integrates `spring-security-oauth2-client` and `spring-security-oauth2-resource-server` with *Spring Authorization Server*.

== Run the Sample

* Run Authorization Server -> `./gradlew -b samples/boot/oauth2-integration/authorizationserver/spring-security-samples-boot-oauth2-integrated-authorizationserver.gradle bootRun`
** *IMPORTANT:* Make sure to modify your `/etc/hosts` file to avoid problems with session cookie overwrites between `client` and `authorizationserver`. Simply add the entry `127.0.0.1 auth-server`
* Run Resource Server -> `./gradlew -b samples/boot/oauth2-integration/resourceserver/spring-security-samples-boot-oauth2-integrated-resourceserver.gradle bootRun`
* Run Client -> `./gradlew -b samples/boot/oauth2-integration/client/spring-security-samples-boot-oauth2-integrated-client.gradle bootRun`
* Go to `http://localhost:8080`