Skip to content

Your access token could not be refreshed because you have since logged out or signed in to another account. Please sign in again. #86

@SkiesOfTheKuth

Description

@SkiesOfTheKuth

Access token cannot be refreshed after switching accounts via auth.json

I’m running into an issue when switching back to a previous account by moving/restoring auth.json.

The error I get is,

Your access token could not be refreshed because you have since logged out or signed in to another account. Please sign in again.

To test this, I entered two fresh OAuth accounts, logged into each one separately, saved the corresponding auth.json files, and then switched between them manually.

The pattern is consistent:

Log into Account A and save its auth.json
Log into Account B and save its auth.json
Switch to Account B and send a message
Switch back to Account A using the saved auth.json
Account A now fails with the token refresh error

So it seems that once I sign into another account and use it, the previous account’s saved auth.json becomes invalid or unusable.

A few months ago, an OpenAI associate who visited our company actually encouraged this method for switching accounts when needed, so I’m not sure whether something changed recently or whether this flow is no longer supported.

Is this expected behavior now? Is there still a supported way to switch between multiple accounts without each previous session being invalidated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions