Ignoring policy enforcement for public url patterns in Spring Boot configuration or keycloak console

Hi, I am implementing keycloak scope base policy enforcement in my Spring boot application,
I am using application.properties for configuring the Keycloak adapter for KeycloakDeployement. I want to disable policy enforcement for public urls.
Please suggest if you know anything regarding this, How i can configure public urls to be excluded from checks.