Skip to content

[Bug]: cannot login #136

Description

@jmikedupont2

What happened?

on linux headless the paste token fails.
npx @augmentcode/auggie@latest login

🔐 Starting Augment authentication...

📡 Detected SSH session.
Using manual authentication flow.

🌐 Opening authentication page in your browser...
Please complete authentication in your browser:

https://auth.augmentcode.com/authorize?response_type=code&code_challenge=DGDDDDg\
Y&client_id=auggie-cli-json-paste&state=WXXXX0E&prompt=login

After authenticating, you will receive a JSON response.
Copy the entire JSON response and paste it below.

Paste the JSON response here: { "accessToken": "e89dxxxx9fc",
"tenantURL": "https://d19.api.augmentcode.com/", "scopes": [ "read", "write" ]}
{ "accessToken": "e8DDDDc", "tenantURL": "https://d19.api\
.augmentcode.com/", "scopes": [ "read", "write" ]}

❌ Authentication failed:
Unknown state mdupont@mdupont-G470:~/2026/05/08/auggie$

What did you expect to happen?

login

Steps to reproduce

Auggie version

0.26.0 (commit 04354095)

Request ID

na

Environment details

Environment
  • OS:
  • Shell:
  • Tool/CLI version:

Anything else we need to know?

No response

Activity

  1. augmentmoogi commented on May 10, 2026

    @augmentmoogi
    Contributor

    Looks like you're copying the wrong json.

    I see the following signals

    1. The properties are camel case instead of snake case
    2. you're missing "state"

    Here is the UI you should copy the JSON from

    Image

    Can you share where you're copying the json from?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions