Skip to content
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

obsctl does not define required args/flags for login command #31

Open
saswatamcode opened this issue Jun 13, 2022 · 1 comment
Open

Comments

@saswatamcode
Copy link
Member

It would be great to define which flags are required, based on which authentication flow is being used.

@dofinn
Copy link

dofinn commented Jun 13, 2022

+1

For example

obsctl --log.level debug login --oidc.client-id $(getcreds) --oidc.client-secret $(getsecret) --api observatorium-mst.api.stage.openshift.com --tenant optimus-prime
debug: read and parsed config file
Error: creating authenticated client: constructing oidc provider: Get "/.well-known/openid-configuration": unsupported protocol scheme ""
Usage:
  obsctl login [flags]

As an oidc noob - what do i do next?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants