Closed smlx closed 9 months ago
Thanks @smlx I've added this as a stretch goal in our overall work for our headless feature. Agreed, striving to use the OEM's guidelines is a good development practice but their suggestion is also an introverted recommendation not considering a cross platform app. The *nix practice of a home directory and dotfiles / dotdirs is easily supported in the golang sdk with https://pkg.go.dev/os#UserHomeDir and it even supports Windows.
Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-653007
I'm going to close this request out - our open source tools, like our SDKs, standardized on having a config at $HOME/.okta/okta.yaml
.
~/.okta/
is a non-standard location for configuration files. It would be nice if this tool could use$XDG_CONFIG_HOME
(as per XDG Spec. on Linux),~/Library/Application Support/<app-identifier>
(as per Apple guidelines on macOS) etc. There's a nice library for this here.