--with-client-creds and --with-client-creds-file not stopping the prompt from coming up.
When running:
go run auth client-credentials \
--host http://localhost:8080 \
--with-client-creds '{"clientId":"opentdf","clientSecret":"secret"}'
The below screenshot is gotten:
The same thing happens using --with-client-creds-file with that same content in the file
After getting past entering the data, if running keycloak in docker I always get this error:
ERROR could not authenticate: failed to get platform configuration: Get "http://keycloak:8888/auth/realms/opentdf/.well-known/openid-configuration": dial tcp: lookup keycloak: no such host
This is even when setting --host http://localhost:8080.
When testing I tested all releases from that had name otdfctl and only 0.6.0 - 0.9.0 worked properly for me, number 2 wasn't really tested though with these ones but in later releases it was.
Multiple issues found:
0.9.0
, theauth client-credentials
command no longer supports--client-id
and--client-secret
.--with-client-creds
and--with-client-creds-file
not stopping the prompt from coming up.--with-client-creds-file
with that same content in the file--host http://localhost:8080
.When testing I tested all releases from that had name
otdfctl
and only 0.6.0 - 0.9.0 worked properly for me, number 2 wasn't really tested though with these ones but in later releases it was.