Skip to content

Fix docker-compose connections always prompting for password - #1860

Draft
isc-klu wants to merge 17 commits into
intersystems-community:masterfrom
isc-klu:fix-docker-compose-password
Draft

Fix docker-compose connections always prompting for password#1860
isc-klu wants to merge 17 commits into
intersystems-community:masterfrom
isc-klu:fix-docker-compose-password

Conversation

@isc-klu

@isc-klu isc-klu commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • resolveConnectionSpec's docker-compose branch built connSpec.auth as an empty new BasicAuthorization(), discarding the plaintext password already resolved by serverForUri from objectscript.conn.password. This left connSpec.auth.resolved() false, sending the connection through the password-prompt/resolution path on every use instead of using the configured credentials.
  • Reuse serverForUri.auth (already resolved) instead.

Fixes #1858.

Test plan

  • Reproduced with a docker(podman)-compose workspace folder using objectscript.conn.password directly (no intersystems.servers); confirmed the "Authorization error" / repeated prompting before the fix.
  • Confirmed connecting succeeds without prompting after the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Password requests

1 participant