Skip to content

fix(cli): restore the SSO success message in setup - #459

Merged
uladzislausvetlakou merged 1 commit into
codemie-ai:mainfrom
kostiantyn-pshenychnyi1:fix/setup-auth-success-message
Aug 4, 2026
Merged

fix(cli): restore the SSO success message in setup#459
uladzislausvetlakou merged 1 commit into
codemie-ai:mainfrom
kostiantyn-pshenychnyi1:fix/setup-auth-success-message

Conversation

@kostiantyn-pshenychnyi1

Copy link
Copy Markdown
Contributor

Summary

codemie setup no longer prints ✓ Authentication successful! after the browser login.

The message lives in the SSO provider's getCredentials, so it only printed when that
step performed the login itself. Since #457 the wizard reuses the session established by
the mandatory-integration gate, so that step is skipped and the login completes with no
confirmation.

Changes

  • Print the message in detectLiteLLMEnforcement(), where the login actually happens.

It now appears exactly once on every path: the gate announces it when it authenticates,
and the SSO step still announces its own login when the gate is skipped.

Fixes the 120s timeout in tests/integration/agent-setup.test.ts waiting for
/Authentication successful/i.

Checklist

  • Code follows project standards
  • CI is green (npm run ci)
  • No merge conflicts with main

`✓ Authentication successful!` lives in the SSO provider's getCredentials, so
it only printed when that step performed the browser login. Since codemie-ai#457 the
wizard reuses the session established by the mandatory-integration gate, that
step is skipped, and the login now completes with no confirmation at all.

Print the message in the gate, where the login actually happens. It appears
exactly once on every path: the gate announces it when it authenticates, and
the SSO step still announces its own login when the gate is skipped.

Fixes the 120s timeout in tests/integration/agent-setup.test.ts waiting for
/Authentication successful/i.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
@uladzislausvetlakou
uladzislausvetlakou merged commit 8bd32c6 into codemie-ai:main Aug 4, 2026
5 checks passed
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.

2 participants