feat: implement dynamic client registration#7096
feat: implement dynamic client registration#7096Zaimwa9 wants to merge 18 commits intofeat/setup-dot-and-as-metadatafrom
Conversation
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, reopen this pull request to trigger a review.
for more information, see https://pre-commit.ci
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Docker builds report
|
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/setup-dot-and-as-metadata #7096 +/- ##
================================================================
Coverage 98.27% 98.27%
================================================================
Files 1344 1347 +3
Lines 50126 50349 +223
================================================================
+ Hits 49259 49482 +223
Misses 867 867 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…om:Flagsmith/flagsmith into feat/implement-dynamic-client-registration
|
|
||
|
|
||
| LOGIN_THROTTLE_RATE = env("LOGIN_THROTTLE_RATE", "20/min") | ||
| DCR_THROTTLE_RATE = env("DCR_THROTTLE_RATE", "10/min") |
There was a problem hiding this comment.
I think the window of this shoulld be much bigger? something like 500/month?
| ], | ||
| ids=["invalid-uri", "wildcard"], | ||
| ) | ||
| def test_validate_redirect_uri__invalid_input__raises_validation_error( |
There was a problem hiding this comment.
Should this live in a different test file? oauth2_metadata/test_service.py?
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Closes #7033
Implements
POST /o/register/for DCR OAuth Dynamic Client Registration to enable MCP clients to self-register their application.client_nameandredirect_urisclient_idDCR_THROTTLE_RATEthrottle scope at 10/min per IPHow did you test this code?
https://www.loom.com/share/8f821fda00cd48cbbc4673a509047364
CLIENT_IDinapi/oauth2_test_server.mjswith the returnedclient_idnode api/oauth2_test_server.mjsand openhttp://localhost:3000