-
Notifications
You must be signed in to change notification settings - Fork 51.1k
fix(core): Add response validation for requests during DCR #22076
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(core): Add response validation for requests during DCR #22076
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 3 files
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.
<file name="packages/cli/src/controllers/oauth/oauth2-credential.controller.ts">
<violation number="1" location="packages/cli/src/controllers/oauth/oauth2-credential.controller.ts:96">
The fallback grant type list no longer includes `refresh_token`, so when a server omits `grant_types_supported`, dynamic client registration now always fails with "No supported grant type" even though the server is compatible.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
…issing-response-validation
tomi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for improving this 🙇 Couple comments
packages/cli/src/controllers/oauth/oauth2-credential.controller.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/controllers/oauth/oauth2-credential.controller.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/controllers/oauth/oauth2-credential.controller.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/controllers/oauth/oauth2-credential.controller.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
|
@tomi thanks for a thorough review 🙌 Addressed your comments and left replies to them |
…issing-response-validation
|
E2E Tests: n8n tests passed after 7m 8.8s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
…issing-response-validation
tomi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more comment
…issing-response-validation
tomi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
…issing-response-validation
Summary
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport(if the PR is an urgent fix that needs to be backported)