caddy-security icon indicating copy to clipboard operation
caddy-security copied to clipboard

question: User Profile with API key is not working

Open brummbaerrocket opened this issue 8 months ago • 1 comments

We have the caddy security plugin running in the latest version and also in the Docker container with the latest Gotoolchain and Go version unfortunately since then the creation of new Api keys is no longer really possible. I managed to create one on a live instance but that was rather erratic why it worked. This API key also works perfectly. I have this error both locally and in Production with a valid ssl certificate. Can someone explain to me when this error can occur? One point is duplicate profile requests that generate a 400 error

Image

and the network output

Image

unfortunately nothing can be seen in the logs

brummbaerrocket avatar Apr 17 '25 09:04 brummbaerrocket

@brummbaerrocket , there is some kind of bug associated with it. I think you can modify users.json file and amend the key directly.

Something to do with length. Did not have time to troubleshoot this.

greenpau avatar Apr 17 '25 12:04 greenpau