You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Identus Cloud Agent, I encountered the following error while trying to interact with the Cloud Agent API:
{
"status": 403,
"type": "authentication_error",
"title": "",
"detail": "ApiKey key is not provided",
"instance": "error:instance:9912cec4-df07-4b62-ba7c-2ffd6b9609cf"
}
The issue occurs because the API_KEY_ENABLED environment variable is set to true by default in the Docker Compose configuration. This critical detail is not mentioned in the repository’s README.md file or related documentation, leaving users unaware of how to disable this feature if not needed.
To resolve this issue, I propose updating the README.md file to include a Troubleshooting section. This section should explain how to locate and modify the API_KEY_ENABLED variable in the docker-compose.yml file and restart the services.
To help other users troubleshoot similar issues, I recommend including the following instructions in the README.md file:
Locate the Docker Compose File:
Navigate to infrastructure/shared/docker-compose.
Modify the Environment Variable:
Change API_KEY_ENABLED=true to API_KEY_ENABLED=false in the docker-compose files to disable the API key authentication mechanism.
Restart Services and Verify Changes:
Re-run your API commands to confirm the error is resolved.
The text was updated successfully, but these errors were encountered:
We are trying to simplify the provisioning of the Identus platform and publish another docker-compose file with the appropriate documentation. You can find it here
At the same time, you can use the cloud-agent and mediator images and your docker-compose file that fits your purpose.
The documentation for disabling the API key authentication exists in the documentation portal. You can find other options to configure the authentication logic in the cloud agent.
I will update the README.md to point to the correct location with the docker-compose files.
Is this a regression?
No
Description
When using the Identus Cloud Agent, I encountered the following error while trying to interact with the Cloud Agent API:
{
"status": 403,
"type": "authentication_error",
"title": "",
"detail": "ApiKey key is not provided",
"instance": "error:instance:9912cec4-df07-4b62-ba7c-2ffd6b9609cf"
}
The issue occurs because the API_KEY_ENABLED environment variable is set to true by default in the Docker Compose configuration. This critical detail is not mentioned in the repository’s README.md file or related documentation, leaving users unaware of how to disable this feature if not needed.
To resolve this issue, I propose updating the README.md file to include a Troubleshooting section. This section should explain how to locate and modify the API_KEY_ENABLED variable in the docker-compose.yml file and restart the services.
Please provide the exception or error you saw
Please provide the environment you discovered this bug in
Anything else?
To help other users troubleshoot similar issues, I recommend including the following instructions in the README.md file:
Locate the Docker Compose File:
Navigate to infrastructure/shared/docker-compose.
Modify the Environment Variable:
Change API_KEY_ENABLED=true to API_KEY_ENABLED=false in the docker-compose files to disable the API key authentication mechanism.
Restart Services and Verify Changes:
Re-run your API commands to confirm the error is resolved.
The text was updated successfully, but these errors were encountered: