Update/django oauth toolkit 3.4.0#533
Merged
Merged
Conversation
- add mailauth migration 0029 mirroring the AbstractApplication changes that DOT's own migrations skip for swapped models (registration_source, cimd_expires_at, client_id widened to 255 chars) - look up refresh tokens by SHA-256 token_checksum in the ClientPermissionValidator rejection diagnostics, matching the new base-validator storage semantics - mount the RFC 8414 authorization server metadata endpoints at the server root (plain and path-component form for the /o2 issuer) - add end-to-end OIDC tests: auth-code + PKCE flow, RS256 ID token verification against the Domain JWT key, refresh token checksum storage and rotation, discovery document consistency - document the upgrade analysis in .agent-docs/django-oauth-toolkit-3.4.0/ HS256 signing changes in 3.4.0 do not affect this deployment: the MNApplication.algorithm property forces RS256 with per-Domain keys. DCR, CIMD and the RFC 9700 behavior gates stay disabled (their defaults). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgWqnQ8ExYjdZofXbvJZEz
Plans three features on top of django-oauth-toolkit 3.4.0: - RFC 7591/7592 Dynamic Client Registration gated by operator-minted initial access tokens (dcrtoken management command), with the Domain derived from the registration request's Host - CIMD gated per-Domain (cimd_enabled + fail-closed client host allowlist) with auto-generated, initially-unassigned required permissions per registered application - RFC 9207 iss authorization-response parameter emitted by a custom OAuthLibCore subclass with the real per-host /o2 issuer, with the upstream COMPLIANT_BCP_RFC9700_AUTHZ_RESPONSE_ISS gate pinned False Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgWqnQ8ExYjdZofXbvJZEz
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.
No description provided.