Skip to content

fix: improve OAuth token storage and debugging#5

Merged
foreveryh merged 5 commits into
masterfrom
feature-a
Aug 31, 2025
Merged

fix: improve OAuth token storage and debugging#5
foreveryh merged 5 commits into
masterfrom
feature-a

Conversation

@foreveryh

Copy link
Copy Markdown
Owner

Improves OAuth token storage with better debugging and fixes env-token-manager token encryption issues.

🤖 Generated with Claude Code

foreveryh and others added 4 commits August 31, 2025 21:34
The token exchange URL was incorrectly using the API endpoint instead of the OAuth endpoint. Fixed to use https://raindrop.io/oauth/access_token directly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
The v1 OAuth endpoint was returning Internal Server Error, while the v2 endpoint works correctly and redirects to the login page as expected.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add detailed logging for token exchange debugging
- Fix token manager selection in callback to use dynamic approach
- Add better error reporting for token response validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add detailed logging for token exchange and storage process
- Fix env-token-manager to return encrypted token properly
- Add better error reporting for token response validation
- Improve debugging information for OAuth callback process

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 31, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
onur-dev-blog-5qsa Ready Ready Preview Comment Aug 31, 2025 8:10pm

@foreveryh
foreveryh merged commit ecb1386 into master Aug 31, 2025
2 of 4 checks passed
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.

1 participant