-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth client-credentials issues #430
Comments
I'd be willing to submit a PR to help with these issues. However, would 1 be solved by:
|
Hi @shanedell, thanks for raising this! The best fix is to remove the reference to those flags in the documentation/manual. There are a few reasons for this:
Longer-term, it is my opinion that |
See related issue: #417 |
@jakedoublev When updating the
or what do these mean currently? For my 3rd issue would a possible fix be allowing the opentdf platform sdk to allow setting the keycloak host? Then adding a flag to this CLI that gets passed to the |
Ah, @shanedell I did not remember we had added arguments for the client id and secret. Are you able to authenticate your profile with I believe the third issue you experienced is not addressable here within |
@jakedoublev Yes I was able to authenticate with As for the 3rd issue should open an issue in the platform repo that gives more detail? |
@jakedoublev I have created a new issue for the platform here: opentdf/platform#1785. I will create a PR soon to update the information here with client-credentials. |
Closes opentdf#430 Signed-off-by: Shane Dell <[email protected]>
Closes opentdf#430 Signed-off-by: Shane Dell <[email protected]>
docs: Update documentation on how to run client-credentails Closes #430 Signed-off-by: Shane Dell <[email protected]> Signed-off-by: Shane Dell <[email protected]>
Multiple issues found:
After release
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.go run auth client-credentials \ --host http://localhost:8080 \ --with-client-creds '{"clientId":"opentdf","clientSecret":"secret"}'
--with-client-creds-file
with that same content in the fileAfter 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
--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.The text was updated successfully, but these errors were encountered: