Added readme.

Change-Id: I2e11ee58a70997e8b25b745f0e943830fe2ae8f6
1 file changed
tree: d51b224265dc217b870983f983936c63fb327332
  1. src/
  2. .gitignore
  3. pom.xml
  4. README.md
README.md

KorAP-OAuth2-Web-Client

A simple java client demonstrating the procedure to obtain KorAP authorization.

The client provides a service at http://localhost:7071/authorize to send an authorization request to KorAP authorization server.

The client provides a redirect URI at http://localhost:7071/redirect expecting an authorization code from KorAP authorization server and exchanging it with an access token.

Setup for testing using KorAP test server

Copy the application.properties to the root project folder.

Fill in the client id and secret (client credentials are obtained by registering a client at the test server).

Change korap.authorize.url and korap.token.url.