Skip to content

Claude code 0auth broked!? #18267

Closed as not planned
Closed as not planned

Description

@R00tedbrain

Description

error 429 never work whats happend killed ??? how can login now with 0aut if cant use its fucked this

Plugins

No response

OpenCode version

1.26

Steps to reproduce

enter r
refresh
no token

Screenshot and/or share link

No response

Operating System

macos

Terminal

No response

Activity

  1. R00tedbrain commented on Mar 19, 2026

    @R00tedbrain
    Author
    Image
  2. R00tedbrain commented on Mar 19, 2026

    @R00tedbrain
    Author
    Image
  3. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 19, 2026
  4. github-actions commented on Mar 19, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  5. gonzalosr commented on Mar 19, 2026

    @gonzalosr
  6. hyowonbernabe commented on Mar 19, 2026

    @hyowonbernabe

    Up

  7. rafaelsmgomes commented on Mar 19, 2026

    @rafaelsmgomes

    Is there a plugin we can use to go around this? Anyone know one?

  8. pranshuchittora commented on Mar 19, 2026

    @pranshuchittora

    Same, also login fails, says invalid code....

  9. GSUBx019 commented on Mar 19, 2026

    @GSUBx019

    anthrobreak ahh moment

  10. pranshuchittora commented on Mar 19, 2026

    @pranshuchittora

    openocde-claude-auth

    What's this & how to use it? Can't find this on npm

  11. nukeop commented on Mar 19, 2026

    @nukeop

    Same

  12. thlindustries commented on Mar 19, 2026

    @thlindustries

    Same here, nothing related to "#15562", always invalid code always

  13. jeanclaudevibedan commented on Mar 19, 2026

    @jeanclaudevibedan

    Same issue. Service was working 3 hours ago or so. Now it's broken.

  14. 129 remaining items

  15. jgttech commented on Mar 24, 2026

    @jgttech

    Just throwing this here but @leohenon own fork is actually quite nice. I would recommend using ocv. I have been using it since this happened and I was made aware by @leohenon and I appreciate it.

  16. DavidNorena commented on Apr 6, 2026

    @DavidNorena

    careful with griffinmartin's plugin, some code related to crypto mining was found in the plugin, community was asking him by using issues, but he is deleting anything related to that.

  17. eXamadeus commented on Apr 7, 2026

    @eXamadeus
    Contributor

    @DavidNorena that's wild, if true, is there any proof of that? (screenshots, links, etc?)

  18. vsixer commented on Apr 7, 2026

    @vsixer

    careful with griffinmartin's plugin, some code related to crypto mining was found in the plugin, community was asking him by using issues, but he is deleting anything related to that.

    I didn't find anything related to mining in the repository.
    Where did you get this information from? Can you provide any proof?

  19. eXamadeus commented on Apr 8, 2026

    @eXamadeus
    Contributor

    @vsixer I did some digging and what I found was this reddit post.

    Seems like the repo description was updated to have some weird crypto hash. The social accounts looked...potentially compromised, too. There was no "bad code" delivered so far as I can tell. That said...even if the author was only briefly compromised that's bad news for a plugin that gets automatically updated every time most people open up their OpenCode session.

    NGL, that's a little scary.

  20. vsixer commented on Apr 8, 2026

    @vsixer

    @eXamadeus, Thanks for providing the link. It definitely looks weird.

  21. r00tedbrain-backup commented on Apr 8, 2026

    @r00tedbrain-backup

    THX , FIXED :

    Listo ✅

    Cambié los plugins de @latest a versión fijada:

    Plugin Antes Ahora
    opencode-anthropic-auth @latest @0.0.13
    @thehugeman/opencode-anthropic-auth-community @latest @0.0.3

    Así OpenCode no los actualizará automáticamente al arrancar y no te pueden colar una versión maliciosa.

    Cuando quieras actualizar alguno, lo haces tú manualmente cambiando el número de versión en ~/.config/opencode/opencode.json. 👊

  22. r00tedbrain-backup commented on Apr 8, 2026

    @r00tedbrain-backup

    🚨 IMPORTANT SECURITY NOTICE – OPENCODE USERS 🚨

    @everyone

    As a precaution, we are asking all users who are using these plugins to stop using @latest and pin a fixed version immediately:

    • opencode-anthropic-auth → @0.0.13
    • @thehugeman/opencode-anthropic-auth-community → @0.0.3

    Why?

    Using @latest means the plugin can be updated automatically every time OpenCode starts, which may expose you to unreviewed changes, unexpected updates, or a possible supply chain / exploit risk.

    What you need to do

    Check your configuration file:

    ~/.config/opencode/opencode.json

    If you currently have this:

    {
      "plugin": [
        "opencode-anthropic-auth@latest",
        "@thehugeman/opencode-anthropic-auth-community@latest"
      ]
    }

    replace it with this:

    {
      "plugin": [
        "opencode-anthropic-auth@0.0.13",
        "@thehugeman/opencode-anthropic-auth-community@0.0.3"
      ]
    }

    Important

    This is a preventive security measure to reduce the risk caused by automatic plugin updates.
    From now on, updates should be done manually, only after reviewing the version you want to install.

    If anyone needs help updating their config file, reply in this channel and we’ll help.

  23. leohenon commented on Apr 9, 2026

    @leohenon

    Since the recent Anthropic changes, I built this plugin. It lets you use claude code through the opencode TUI. At the moment, this seems to be the only way to use claude max credits in opencode without extra usage.

  24. r00tedbrain-backup commented on Apr 9, 2026

    @r00tedbrain-backup
  25. leohenon commented on Apr 9, 2026

    @leohenon

    Interesting, there is a fix. I added a similar workaround in op-anthropic-auth, and it’s working there as well. Not sure how long it will keep working though.

  26. vinzabe commented on Apr 11, 2026

    @vinzabe

    here's the perm fix that avoids any claude patches https://github.com/vinzabe/opencode-anthropic-max-fix

  27. santiagocasas commented on Apr 15, 2026

    @santiagocasas

    @vinzabe thanks, it works, but your readme install instructions are wrong. The https://raw.githubusercontent.com/vinzabe/opencode-anthropic-max-fix/main/install.cjs , returns 404. I used the correct one and installed without systemd.

  28. gabejar commented on Apr 16, 2026

    @gabejar

    @vinzabe thanks, it works, but your readme install instructions are wrong. The https://raw.githubusercontent.com/vinzabe/opencode-anthropic-max-fix/main/install.cjs , returns 404. I used the correct one and installed without systemd.

    i will edit it. i am updating this fix everytime claude is changing something that I dont have time to edit the readme. lol

  29. santiagocasas commented on May 11, 2026

    @santiagocasas

    I got this message now: OAuth authentication is currently not allowed for this organization.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions