Skip to content

paulojeronimo/oauth-uaa-sample

master
Switch branches/tags
Code
This branch is 1 commit ahead of bijukunjummen:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.7%
  • HTML 29.2%
  • Shell 8.8%
  • CSS 0.3%