Skip to content

Update/django oauth toolkit 3.4.0#533

Merged
jdelic merged 2 commits into
developfrom
update/django-oauth-toolkit-3.4.0
Jul 24, 2026
Merged

Update/django oauth toolkit 3.4.0#533
jdelic merged 2 commits into
developfrom
update/django-oauth-toolkit-3.4.0

Conversation

@jdelic

@jdelic jdelic commented Jul 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits July 24, 2026 08:22
- 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
@jdelic
jdelic merged commit 8a924a7 into develop Jul 24, 2026
5 checks passed
@jdelic
jdelic deleted the update/django-oauth-toolkit-3.4.0 branch July 24, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant