Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 730 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 730 Bytes

Keyclock springboot permissions.

a sample spring boot application to demonstrate keyclock permissions.

Overview

you must configure the .env with proper keyclock configurations. The copy is avilable in env file.

Start your server as an simple java application

You can view the api documentation in swagger-ui by pointing to
http://localhost:8088/

you must log in as a user to view these swagger.

user1: kc-user1 user2: kc-user2 user3: kc-user3

password is 1111

Don't change default port value in application.properties

swagger will throw cors error when 1st trying. you can click the link in console to continue.

reference: https://www.keycloak.org/docs/latest/authorization_services/#_enforcer_overview