Keycloak, Resource Server, Resource Client collaborate examples
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
kc-resource-client-js
kc-resource-client
kc-resource-server
.gitignore
LICENSE
README.md
mvnw
mvnw.cmd
pom.xml

README.md

kc-resource

Keycloak, Resource Server, Resource Client collaborate examples

Quick start

First read the following. http://blog.yo1000.com/2017/12/18/keycloak-example-resource-server-client.html

Next set up Keycloak, get and set keycloak.json.

$ cp keycloak.json kc-resource-client/src/main/webapp/WEB-INF/keycloak.json

When ready, Packaging and Run!

$ ./mvnw clean package
$ java -jar ./kc-resource-server/target/kc-resource-server-1.0.0-SNAPSHOT.jar
$ java -jar ./kc-resource-client/target/kc-resource-client-1.0.0-SNAPSHOT.jar

Endpoint assumptions

Try testing with only kc-resource-server

$ ./mvnw clean test -pl kc-resource-server