My auth token expired and when I type /login in Claude Code it leads me to a webpage showing:
OAuth Request Failed Internal server error
replies(34):
OAuth Request Failed Internal server error
Fix for me: Hopefully will work for you guys too, I logged out of claude, restarted cursor, used the anthropic console login method instead of normal login, when you click the link it gives you an option to signin with chat credentials instead, there it did not work, I pressed the link given in claude a few times and kept trying, finally I was given a pastable code, this took a while to be accepted in terminal but now is logged in.
hope it works for someone else aswell!!