Skip to content

demo app I copied original code from great blog http://blogs.steeplesoft.com/ converted to cxf added some web pages and changes to make it clearer to me at least

Notifications You must be signed in to change notification settings

bernardjason/playing-with-oauth2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You should be able to clone the project, then execute

mvn jetty:run

From your browser visit http://127.0.0.1:8080/application

which is a sample demo website that wants to call 3 of your apis

click on top menu "Authorise" will direct you to the demo oauth2 server to permit access to some or all 3 of the apis you provide. You then go back to demo website with a token which is then used to get an access_token to call the apis.

To run the integration tests /mvn clean package jetty:start failsafe:integration-test

the tests show calling the api's to the auth code, access token with limited scope and calling the final demo api.

About

demo app I copied original code from great blog http://blogs.steeplesoft.com/ converted to cxf added some web pages and changes to make it clearer to me at least

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages