enonic / cli-enonic

GNU General Public License v3.0
41 stars 1 forks source link

Make authURL and clientID overridable via env variables #477

Closed alansemenov closed 9 months ago

alansemenov commented 11 months ago

It should be possible to override authURL and clientID hardcoded here via environment variables, similar to how Cloud API URL can be overridden by env variable called ENONIC_CLI_CLOUD_API_URL.

The new ones can be called ENONIC_CLI_CLOUD_AUTH_URL and ENONIC_CLI_CLOUD_AUTH_CLIENT respectively.