mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-25 09:35:55 +03:00
[GH-ISSUE #147] [FEATURE]: Claude Pro - prevent 401 authentication error after resuming a paused run #47
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shannon-KeygraphHQ#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @meyerlor on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/147
Problem description
I'm using Claude Pro without additional balance - therefore i need to wait always around ~5h for shannon to be able to continue once my included balance is burnt through.
Resuming the run is working in theory - but unfortunately, the "free" balance of Claude Pro is not enough to be able to reach the next "resume point" from where i could start shannon anew. This causes trouble because the run then falls into "hibernate" mode and is waiting for the next reset of Claude - but when reaching it Claude's OAuthToken is not valid anymore and the run will fail without reaching the next shannon phase.
Looking into Claude Code's .credential.json (from where i usually copy the access Token for shannon) i found the "refreshToken" - wouldn't it be possible for shannon to use this refresh token as well and request a new OAuth AccessToken?
Proposed solution
Use Claude Code's refreshToken to make sure it stays logged in while running a pentest with shannon
@ezl-keygraph commented on GitHub (Feb 19, 2026):
@meyerlor
credentials.jsonis short lived and needs a refresh in specific time intervals.claude setup-tokento get a long lived oauth token which doesn't need a refresh and will be valid for a year.@meyerlor commented on GitHub (Feb 19, 2026):
oh god, many thanks. live saving!