Skip to content

Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again. #12755

Open

Description

@andreaslhv

What version of Codex CLI is running?

codex-cli 0.104.0

What subscription do you have?

Enterprise

Which model were you using?

gpt-5.3-codex high

What platform is your computer?

Darwin 25.3.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Terminal.app

What issue are you seeing?

Problem with Atlassian MCP - "Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again."

Usually codex mcp remove atlassian followed by codex mcp add atlassian --url https://mcp.atlassian.com/v1/mcp resolved the refresh issue, but not this time.

What steps can reproduce the bug?

  1. codex mcp add atlassian --url https://mcp.atlassian.com/v1/mcp
  2. codex
  3. Can you see Jira?

What is the expected behavior?

It should see Jira (worked last week)

Additional information

No response

Activity

  1. added
    CLIIssues related to the Codex CLI
    mcpIssues related to the use of model context protocol (MCP) servers
    authIssues related to authentication and accounts
    on Feb 25, 2026
  2. ranga-tec commented on Mar 1, 2026

    @ranga-tec

    delete auth.json in codex installation folder. run codex again it ll prompt to login again.

  3. CodiBasti commented on Mar 9, 2026

    @CodiBasti

    For me this worked:
    Codex (Tab) -> Settings Icon -> Log out -> log in again. fixed.

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

    CLIIssues related to the Codex CLIauthIssues related to authentication and accountsbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) servers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions