Closed paulmillar closed 3 years ago
Yes for some reason, we don't check that option before opening the url. Sorry, will be fixed with the next release.
Thanks!
Not sure why you're ising the --no-url-call
option, but I encountered that people didn't easily find the device code flow option:
--flow=device
, which is what you might want, when using oidc-agent on a remote host (such as a wlcg user-interface machine)
While the device flow really might be preferred in this situation, AFAIK it is currently not supported by the OP in question (Helmholtz AAI)
Yes, as @zachmann says, --flow=device
is certainly preferred; however, that only works if the OP supports that flow :grin:
If the remote machine (on which oidc-gen is bring run) doesn't have any web-browsers installed then the option is just cosmetic -- it stops an error message being printed. If the remote machine does have a web-browser then a user might prefer to use a local browser and copy across URLs, since tunnelling X over ssh is a recipe for frustration.
In any case, this isn't a big problem, just something that ought to be fixed.
Hi,
The
oidc-gen
man page says:However, when I specify this option, oidc-gen still tries to open a web-browser:
Note that, in the last line
oidc-gen
is trying to run thexdc-open
command.