Cadasta / cadasta-platform

[DEPRECATED] Main repository of the Cadasta platform. Technology to help communities document their land rights around the world.
https://demo.cadasta.org
GNU Affero General Public License v3.0
53 stars 81 forks source link

403 after sign in #1250

Closed clash99 closed 7 years ago

clash99 commented 7 years ago

Steps to reproduce the error

Actual behavior

Expected behavior

If I hit refresh, I do get redirected to the dashboard and sign-in was successful.

This is a sporadic error I've received about a dozen times over the past 2 days. I just want to document it in case others are seeing the same thing. I'm unable to pinpoint the cause.

screenshot 2017-03-08 12 28 40
dpalomino commented 7 years ago

I haven't seen any 403 in te last couple of days. @amplifi do you know if we can see something in the logs?

amplifi commented 7 years ago

@dpalomino There are sporadic 403 http responses on the POST to account/login/ in staging, demo, and production. This isn't an "error" necessarily; as far as the logs are concerned that's the appropriate behavior for invalid CSRF tokens. Django handles CSRF, so we'd have to check that it's being implemented correctly on the platform side.

dpalomino commented 7 years ago

I think we can close this issue for now. Please reopen if you think this is happening too frequently.

Thanks!

SteadyCadence commented 7 years ago

I just had this happen to me on demo in Chrome.