dj-rest-auth access token not sent from react font-end to django back-end

I'm making an SPA with a React front-end and a Django back-end. For user authentication, I'm using dj_rest_auth, which wraps allauth to provide a REST API interface. dj-rest-auth provides a "login" endpoint that sends back access and refresh cookies. It also …