Skip to content

WIP: Add login command to initialize client context before OAuth - #25

Merged
slapoguzov merged 2 commits into
mainfrom
a.slapoguzov/login-command
Jan 21, 2026
Merged

WIP: Add login command to initialize client context before OAuth#25
slapoguzov merged 2 commits into
mainfrom
a.slapoguzov/login-command

Conversation

@slapoguzov

@slapoguzov slapoguzov commented Jan 21, 2026

Copy link
Copy Markdown
Collaborator

Add login command to initialize client context before OAuth

Codex customizes the OAuth login page based on client info from
initialize() request. New codex-acp login command ensures
initialize() is called before triggering OAuth flow.

Usage: codex-acp login --client-name="AIA Plugin" --client-version="1.0.0"

Complementary PR in the plugin: https://code.jetbrains.team/p/ij/repositories/ultimate/reviews/188792/timeline

@slapoguzov
slapoguzov requested a review from xtmq January 21, 2026 20:44
Remove premature process.exit(0) that was executing synchronously before the async runLoginCommand() could complete
@slapoguzov
slapoguzov merged commit 538ada1 into main Jan 21, 2026
3 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