Skip to content

fix: use correct OAuth endpoint for token exchange and add login retry#89

Merged
txperl merged 1 commit intomasterfrom
claude/debug-login-errors-4UDjg
Feb 24, 2026
Merged

fix: use correct OAuth endpoint for token exchange and add login retry#89
txperl merged 1 commit intomasterfrom
claude/debug-login-errors-4UDjg

Conversation

@txperl
Copy link
Copy Markdown
Owner

@txperl txperl commented Feb 24, 2026

The token exchange was sending requests to public-api.secure.pixiv.net
instead of oauth.secure.pixiv.net, causing intermittent 918 errors
depending on CDN/server routing. Also fixed check_network early return
leaving auth_token_url uninitialized when proxy was set to "no".

Added retry mechanism (up to 3 attempts) so users don't need to restart
the entire application on login failure, and improved error messages to
include HTTP status and endpoint URL for easier diagnostics.

https://claude.ai/code/session_01H6p9TSeaszCSyVNqgg4W3f

The token exchange was sending requests to public-api.secure.pixiv.net
instead of oauth.secure.pixiv.net, causing intermittent 918 errors
depending on CDN/server routing. Also fixed check_network early return
leaving auth_token_url uninitialized when proxy was set to "no".

Added retry mechanism (up to 3 attempts) so users don't need to restart
the entire application on login failure, and improved error messages to
include HTTP status and endpoint URL for easier diagnostics.

https://claude.ai/code/session_01H6p9TSeaszCSyVNqgg4W3f
@txperl txperl merged commit 4f188f9 into master Feb 24, 2026
@txperl txperl deleted the claude/debug-login-errors-4UDjg branch February 24, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants