Conversation
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>
- Add detailed error reporting for OAuth token response - Separate validation for access_token and refresh_token - Add comprehensive request logging for debugging - Improve error messages to identify specific issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…or handling - Add debugging for client ID and secret validation - Improve error handling for Raindrop.io API error format - Show credential lengths and prefixes for debugging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Prevent build failures when OAuth tokens are not configured - Return empty results instead of throwing errors during static generation - Add specific error handling for authentication-required scenarios - Improve error messages for debugging authentication issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add detailed logging at callback entry point - Log request URL and parameters for debugging - Ensure we can see when callback is triggered 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Show all RAINDROP env keys available - Display actual values for debugging - Check Vercel environment detection - Add error logging for missing credentials 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Fix status API to use correct token manager based on environment - Fix clear API to use dynamic token manager selection - Add compatibility for different token manager interfaces - Add debugging for token status checks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive work log for 2025-08-31 OAuth implementation - Update README with complete OAuth 2.0 setup instructions - Replace outdated token-based auth with OAuth flow documentation - Include troubleshooting guide and multiple storage strategies - Document manual encrypted token setup process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Key Changes
Authentication System
Build & Deployment Fixes
Documentation & Monitoring
/admin/raindrop-setupFiles Modified
src/app/api/auth/raindrop/callback/route.js- OAuth callback with enhanced debuggingsrc/app/api/auth/raindrop/status/route.js- Dynamic token manager status APIsrc/app/api/auth/raindrop/clear/route.js- Token clearing with dynamic managersrc/lib/raindrop-with-auth.js- Build-safe authenticated API requestsREADME.md- Complete OAuth setup documentationdocs/work-log-2025-08-31.md- Detailed implementation logTest Plan
🤖 Generated with Claude Code