--
Ticket URL: <https://code.djangoproject.com/ticket/30433>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "django bug.png" added.
The screenshot showing sign up error on djangoproject with Chrome
* Attachment "django bug2.png" added.
Login failure on chrome for my project
* stage: Unreviewed => Accepted
Old 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
New 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.
On Windows 10 I could only login to my project with Microsoft Edge but not
with Chrome.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30433#comment:1>
* stage: Accepted => Unreviewed
--
Ticket URL: <https://code.djangoproject.com/ticket/30433#comment:2>
* status: new => closed
* resolution: => needsinfo
* severity: Release blocker => Normal
Comment:
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
[https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
support channels].
--
Ticket URL: <https://code.djangoproject.com/ticket/30433#comment:3>