Cant login OAuth error: Cannot read properties of undefined (reading 'digest')
Hey guys, getting this error : " OAuth error: Cannot read properties of undefined (reading 'digest')"
╭────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
╰────────────────────────────────────────────╯
██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗
██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝
██║ ██║ ███████║██║ ██║██║ ██║█████╗
██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝
╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗
╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██║ ██║█████╗
██║ ██║ ██║██║ ██║██╔══╝
╚██████╗╚██████╔╝██████╔╝███████╗
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
OAuth error: Cannot read properties of undefined (reading 'digest')
6 Comments
Hey! What terminal/OS/Node version are you using?
Operating System: You're running macOS (Darwin 24.3.0)
Node Version: v22.9.0
tried a couple of terminals, including zsh and iterm
Change to use node v20 fix this issue to me.
Thanks wbingli
that worked!
Should be fixed (cannot repro with v22.9 and have changed required version to be 18+). Did repro with older versions.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.