MoonshotAI / MoonshotAI/kimi-cli

Kimi CLI rejects OAuth login for invited free users with active promotional coding credits

Open
#2,566 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

v0.29.2

Which open platform/subscription were you using?

None

Which model were you using?

No response

What platform is your computer?

No response

What issue are you seeing?

Users on the free plan who receive temporary coding credits through the referral/invitation can use those credits in the Kimi Desktop app, but the Kimi CLI refuses to log in.

Image Image
What steps can reproduce the bug?
  1. Create a free Kimi accoutn.
  2. Receive free credits by inviting a friend or being invited
  3. Note: The credits work in the Kimi Desktop app.
  4. open kimi cli, run /login, complete the login using OAUTH.
What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the OAuth flow from the CLI's /login command with a free account that has referral or invitation credits, then compare it with the Desktop app behavior described in the issue. Trace where the CLI rejects the account and confirm that the fix allows these users to log in while preserving access to their promotional credits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.