Skip to content

fix(auth): JWT_AUTH_HTTPONLY=False so the refresh token reaches the client - #180

Merged
Prekzursil merged 1 commit into
backendfrom
fix/jwt-refresh-body
Oct 21, 2026
Merged

Prekzursil merged 1 commit into
backendfrom
fix/jwt-refresh-body

Conversation

@Prekzursil

Copy link
Copy Markdown
Owner

Live-stack catch #2 of the login chain: after #179 fixed USE_JWT, login returned refresh:"" — dj-rest-auth 7.x defaults JWT_AUTH_HTTPONLY=True which blanks the body refresh while no cookie is configured either, so token renewal was impossible after 5 minutes. Body mode restored; cookie migration (spec-gap G11) will flip deliberately. 499/499 green.

…esh token

dj-rest-auth 7.x defaults JWT_AUTH_HTTPONLY True with no refresh cookie
configured, so the login response carries refresh:"" and the client can
never renew its 5-minute access token. Explicit body mode matches the
localStorage-based frontend; flips to True + cookies in the planned
httpOnly migration.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T07:53:11.562974Z f6dc46b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Prekzursil
Prekzursil merged commit cdca3de into backend Oct 21, 2026
1 check passed
@Prekzursil
Prekzursil deleted the fix/jwt-refresh-body branch October 21, 2026 07:54
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