Skip to content
 
 

Repository files navigation

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:

Note
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:

$ ./uaa-populate.sh
Note
The script uaa-populate.sh uses the uaac command line utility so you need to install it first.

Start the resource Server

./gradlew -p applications/resourceserver clean bootRun

Start the client

./gradlew -p applications/client clean bootRun

Test An Authorization Code flow

Authorization Code Grant Type

Go to UI available at http://localhost:8888/ and click the UI to access a secure page.
Login with user1/user1 when prompted.

About

OAuth2 sample - demonstrating a Client/Resource secured over OAuth2 using Cloud Foundry UAA

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages