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.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
for more information, see https://pre-commit.ci
Docker builds report
|
| # Authorize template view for testing: this will be moved to the frontend in following issues | ||
| path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")), |
…/flagsmith into feat/setup-dot-and-as-metadata
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 (oss - depot-ubuntu-latest-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 (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
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-16)Details
|
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7057 +/- ##
==========================================
- Coverage 98.33% 98.25% -0.09%
==========================================
Files 1337 1342 +5
Lines 50010 49936 -74
==========================================
- Hits 49178 49064 -114
- Misses 832 872 +40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Contributes to #7032
django-oauth-toolkitas a dependencyoauth2_providerto INSTALLED_APPS andOAuth2Authenticationto DRF authentication classesOAUTH2_PROVIDER settings: 15min access tokens, 30-day rotating refresh tokens, PKCE S256 mandatory,mcpscopeFLAGSMITH_API_URLandFLAGSMITH_FRONTEND_URLenvironment variables (for self-hosted)/o/(authorize, token, revoke, introspect)GET /.well-known/oauth-authorization-servermetadata endpoint (RFC 8414)🟢 Includes a Node.js test server (
node auth2_test_server.mjs) to test e2e =>http://localhost:3000How did you test this code?
curl http://localhost:8000/.well-known/oauth-authorization-servernode oauth2_test_server.mjs:a. Create a public OAuth application in Django admin at
/admin/oauth2_provider/application/add_/(Authorization:
code grant, redirect URI:http://localhost:3000/oauth/callback)b. Update
CLIENT_IDinoauth2_test_server.mjswith the generated client IDc. Run the server and open http://localhost:3000
d. Approve the authorisation, token is exchanged automatically
You should receive a payload like: