How to get the LDAP authentication running?
After login on http://127.0.0.1:8000/ and trying to request any API resource (Person, Place, Organisation) I get the following error: Uncaught PHP Exception DBP\API\CoreBundle\Exception\ItemNotLoadedException: "Person with id '$USER' could not be loaded! Message: Server is unwilling to perform" at /application/vendor/dbp/api-core-bundle/src/Service/LDAPApi.php line 182 {"exception":"[object] (DBP\\API\\CoreBundle\\Exception\\ItemNotLoadedException(code: 0): Person with id '$USER' could not be loaded! Message: Server is unwilling to perform at /application/vendor/dbp/api-core-bundle/src/Service/LDAPApi.php:182)
($USER is my username).
Does the MyCustomPersonProvider.php have anything to do with that? Or is it some TLS issue, that I read somewhere? Or do I need to set LDAP_PASS and/or KEYCLOAK_CLIENT_SECRET env vars?
Also is there a possibility to disable authentication for some endpoint on the level of the template or the bundle or can it only be done in the CoreBundle? https://mw-frontend-dev.tugraz.at/api-docs/access_control.html hints at some access control.