1👍
✅
You can do it by using two browsers or using a private (incognito) window.
If you don’t want to use two different browsers to browse through the project,
You can use http://127.0.0.1:XXXX/ for PROJECT_1
and http://localhost:XXXX/ for PROJECT_2
.
0👍
The browser assigns the cookie to the domain, 127.0.0.1. So even if you run one on 127.0.0.1:8000, and second on 127.0.0.1:9000, they will both use the same authentication cookie.
A simple solution would be to use another browser, e.g. project1 on Firefox, and project 2 on Chrome
Source:stackexchange.com