Skip to content

2.4.1: request.user set in JwtAuthCookieMiddleware

Compare
Choose a tag to compare
@robrap robrap released this 04 Oct 22:08
· 284 commits to master since this release
JWT cookie authentication uses DRF, which does not set `request.user`
until the Middleware call: `process_response`.  This change sets the
`request.user` in process_view, which happens after all
`process_request` calls.

This is has been added to the existing `JwtAuthCookieMiddleware`.

ARCH-1197