observatorium / obsctl

A cli to interact with Observatorium instances.
Apache License 2.0
10 stars 14 forks source link

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

Open saswatamcode opened 2 years ago

saswatamcode commented 2 years ago

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

dofinn commented 2 years ago

+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?