/poc-keycloak

This is a proof of concept (POC) using Keycloak and Spring as Resource Server

Primary LanguageJavaApache License 2.0Apache-2.0

Overview

This is a proof of concept (POC) using Keycloak and Spring as Resource Server and Client.

Setup

1º Install Docker

2º After install Docker, we need to install Keycloak, to do that, run the command below:

docker run -d -p 18080:8080 --name=keycloak -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak

Testing

1º Start the Keycloak running the command below:

docker start keycloak

2º Start the Resource Server running the command below:

cd resource-server && mvn clean spring-boot:run

3º Start the Client Server running the command below:

cd client-server && mvn clean spring-boot:run

Postman

If you want to teste the Resource Server using Postman as Client Server there is a collection and environment to it!

src/
    main/
        resources/
                postman/

Be Happy