Opened 5 years ago

Last modified 5 years ago

#30433 closed Bug

Authentication system is not working with Google Chrome for django 2.1 and 2.2.1 — at Initial Version

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

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

Change History (2)

by Anurag Gundappa, 5 years ago

Attachment: django bug.png added

The screenshot showing sign up error on djangoproject with Chrome

by Anurag Gundappa, 5 years ago

Attachment: django bug2.png added

Login failure on chrome for my project

Note: See TracTickets for help on using tickets.
Back to Top