keycloak / keycloak-quickstarts

Apache License 2.0
1.99k stars 985 forks source link

Issue with policy-enforcer-config #344

Open geo-matheou opened 2 years ago

geo-matheou commented 2 years ago

Describe the bug

Hello,

I am trying to develop a rest API in spring boot using examples from keycloak-quickstarts/app-authz-rest-springboot

I am using Spring Boot V2.7.1, Java Version 18 and keycloak-spring-boot-starter V18.0.1.

In my applications.properties file and applications.yml file (I used both ways) I am trying to use policy-enforcer-config settings but when I execute my application and access it from postman I receive the following error: Failed to obtain policy enforcer

Also, Intellij seems that does not support the policy-enforcer-config settings. For example: Cannot resolve configuration property 'keycloak.policy-enforcer-config.paths'

Can you please help?

Thank you in advance, George

Version

18.0.1

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response