ricardobaumann / resource-server

Spring boot keycloak resource service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keycloak-powered backend resource service

This service demonstrates how to configure a spring boot backend as a resource service, backed by keycloak as identity and authentication provider.

Usage

  • To start keycloak, run the docker-compose file on the root folder: docker-compose up
  • Start the application from your IDE or command line with ./gradlew bootRun
  • Get the jwt token from keycloak running: ./get_token.sh
  • Call the service endpoint with the jwt token, using ./test_curl.sh Do not forget to update the Bearer token on the curl command.

About

Spring boot keycloak resource service


Languages

Language:Java 71.7%Language:Shell 28.3%