Opened 6 years ago
Closed 6 years ago
#30433 closed Bug (needsinfo)
Authentication system is not working with Google Chrome for django 2.1 and 2.2.1.
Reported by: | Anurag Gundappa | Owned by: | nobody |
---|---|---|---|
Component: | CSRF | Version: | 2.2 |
Severity: | Normal | Keywords: | login, CSRF |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I am using django 2.2.1 for my personal project . It is observed that django admin and custom user login works fine with Firefox but when tried to login with same URL on Google Chrome version 74, that doesn't works and throws CSRF token error. I experienced this issue on Windows 10 and Ubuntu 19.04. I could not even sign up for djangoproject with Google chrome.
I have hosted same project on heroku and pythonanywhere but still the login behaviour was same. Django 2.1 and 2.2.1 are only allowing user login from Firefox and not with Chrome. I double checked my Login views but there is no problem with my views . TO verify this I created new project with django 2.0 and user login is working as expected with FIrefox and Chrome both. At first I thought login only working with default browser so I tried setting Chrome as my default browser but no luck.
On Windows 10 I could only login to my project with Microsoft Edge but not with Chrome.
Attachments (2)
Change History (5)
by , 6 years ago
Attachment: | django bug.png added |
---|
comment:1 by , 6 years ago
Description: | modified (diff) |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 6 years ago
Triage Stage: | Accepted → Unreviewed |
---|
comment:3 by , 6 years ago
Resolution: | → needsinfo |
---|---|
Severity: | Release blocker → Normal |
Status: | new → closed |
Summary: | Authentication system is not working with Google Chrome for django 2.1 and 2.2.1 → Authentication system is not working with Google Chrome for django 2.1 and 2.2.1. |
Thanks for the report, however login on Chrome browser works for me with Django 2.1, 2.2, and on master. Can you provide an example project to reproduce this issue? Maybe there is some problem with session engine, or cookie settings etc., but it's hard to tell without details or an example project.
You should start from one of support channels.
The screenshot showing sign up error on djangoproject with Chrome