localhost:3000/auth/login/ returns HTTP/308 to /auth/login. skipTrailingSlashRedirect: true, to next.config.mjs, then localhost:3000/auth/login/ queries django to /auth/login (the extra slash is removed), django returns HTTP/301 to /auth/login/ which is returned to the client by nextjs.