Baoyuantop commented on issue #12547: URL: https://github.com/apache/apisix/issues/12547#issuecomment-3226611786
> automatically create resources on keycloak using APISIX This feature is not currently supported. The current `lazy_load_paths` functionality only looks for existing resources and does not create new ones. The `authz_keycloak_resolve_resource` function in the code simply sends a GET request to the Keycloak resource registration endpoint. `{uri = uri, matchingUri = "true"}` is used to find a matching existing resource. When the resource corresponding to the URI does not exist, the function returns nil and an error message. Subsequently, when APISIX attempts to request permission for the non-existent resource, Keycloak returns an `invalid_resource` error. Could you please describe your business scenario in more detail? We can see if there is a solution that is currently available and, if not, we can discuss how to improve it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org