Skip to content

Ollama login detection fails because CodexBar does not recognize current __Secure-session cookie #704

@hckal

Description

@hckal

SUMMARY

CodexBar reports:

No Ollama session cookie found. Please log in to ollama.com in your browser.

But Safari is already signed into ollama.com.

This appears to be caused by CodexBar’s Ollama cookie detector recognizing older cookie names only, while the current Ollama web session is stored under __Secure-session.

Observed behavior

CodexBar fails to detect an existing Ollama web session and keeps prompting the user to log in.

Expected behavior

If the browser has a valid signed-in ollama.com session, CodexBar should detect it and use it.

Evidence

From the installed CodexBar.app binary, the Ollama detector appears to recognize these cookie names:

  • __Secure-next-auth.session-token
  • next-auth.session-token
  • __Host-ollama_session

From Safari’s local cookie store for ollama.com, the active session cookie present is:
__Secure-session.

Environment

  • CodexBar: 0.19.0
  • Browser: Safari
  • macOS
  • Full Disk Access / restart / re-login were already attempted

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedConfirmed backlog item or verified open bugarea:auth-keychainAuthentication, keychain, cookies, token refresh, account switchingbugSomething isn't workingpriority:highHigh priority: confirmed serious bug or blocker

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions