code: func (c *Registry) GetKeycloakEndpointEntitlement(req *http.Request) (string, error) {
  	return c.getKeycloakEndpoint(req, "auth/realms/"+c.GetKeycloakRealm()+"/authz/entitlement/"+c.GetKeycloakClientID())
  }
docs: // GetKeycloakEndpointEntitlement returns the <keycloak>/realms/<realm>/authz/entitlement/<clientID> endpoint
  // set via config file or environment variable.
  // If nothing set then in Dev environment the defualt endopoint will be returned.
  // In producion the endpoint will be calculated from the request by replacing the last domain/host name in the full host name.
  // Example: api.service.domain.org -> sso.service.domain.org
  // or api.domain.org -> sso.domain.org