-
Notifications
You must be signed in to change notification settings - Fork 337
fix: token check route is GET not POST #918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: token check route is GET not POST #918
Conversation
WalkthroughThe Kiln Copilot key verification method changes from POST to GET request. The implementation now validates the key by sending a GET request to the Kiln server and considers the key valid upon receiving a 200 status code, storing it accordingly; non-200 responses return the error content with the corresponding status code. The test suite is updated to reflect this HTTP method change. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (5)**/*test*.py📄 CodeRabbit inference engine (.cursor/rules/project.mdc)
Files:
**/*.py📄 CodeRabbit inference engine (.cursor/rules/project.mdc)
Files:
app/desktop/**/*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/test_*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
{libs/server,app/desktop/studio_server}/**/*.py📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (1)📓 Common learnings⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 Coverage ReportOverall Coverage: 92% Diff: origin/dchiang/KIL-236/kinde-auth...HEAD
Summary
|
PR going into #882
What does this PR do?
The route called by the endpoint that verifies the Copilot token was
POST, but server expectsGET.Checklists
Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.