opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: add OPENCODE_AUTH_PATH env var for custom auth.json location

Open thuvasooriya opened this issue 2 weeks ago • 0 comments

A small addition to the way the authentication file path is determined in the Auth namespace. Now, the the default auth.json file path can be overridden using the OPENCODE_AUTH_PATH environment variable, providing more flexibility.

  • Allows custom wrappers to manage profiles and accounts easily without needing to have separate data folders.

thuvasooriya avatar Jan 02 '26 12:01 thuvasooriya