Clone this repo:

Branches

  1. b02ff9b Updated readme. by margaretha · 1 year, 8 months ago master
  2. 7feedf5 Added readme. by margaretha · 1 year, 9 months ago
  3. badb934 Added authorization scope by margaretha · 1 year, 10 months ago
  4. b706d7c Implemented a prototype KorAP OAuth2 web client by margaretha · 1 year, 10 months ago
  5. 8ea47cb Initial empty repository by margaretha · 1 year, 10 months ago

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 expects an authorization code from KorAP authorization server at its redirect URI http://localhost:7071/redirect. It will exchanges the authorization code with an access token by sending a token request to the KorAP authorization server.

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).

Adjust the properties korap.authorize.url and korap.token.url.