OAuth UAA Sample
This sample is based on this blog post wich explains many details. Read it!
These are the current versions of components used here:
|You can also see this respository if you want an example based on Spring Boot 2.|
Start an OAuth2 authorization server
Start the UAA server.
Type following command line to populate the details of the actors involved in this sample:
The script uaa-populate.sh uses the
Start the resource Server
./gradlew -p applications/resourceserver clean bootRun
Start the client
./gradlew -p applications/client clean bootRun
Test An Authorization Code flow
Go to UI available at http://localhost:8888/ and click the UI to access a secure page.
user1/user1 when prompted.