Open Echsecutor opened 6 months ago
Yeah, we need to update the description to make it more clear.
Speaking of deployment, do you think we need to provide other approaches that using docker compose to start it?
@Echsecutor I was not able yet to provide a full local docker deployment. Main reason for this is the keycloak deployment:
The frontend will receive the jwk where the iss
value is set to localhost:8080
. When this value is send to the backend, the backend needs to get the public key. The docker containers are all deployed in the same network, so the endpoint to keycloak would be keycloak:8080
. And now the validation in the oidc-client sdk will vail since to it the iss value does not match with the known realm url....
@Echsecutor the deploys are now split up into separate files, allowing to start what you actually need, see https://github.com/openwallet-foundation-labs/credhub/tree/main/deploys
The keycloak problem was solved by using host.docker.internal
which worked fine under Windows for the localhost alternative and according to the docs it should work for MacOS too. For Linux seems to exists a workaround, but I haven't tried it yet
I would appreciate a brief getting started paragraph in the README or from running docker linked therein.
A simple minded
does download the images and start the containers, but I am getting a few errors among which at least those look critical:
and
and