# Login de admin do Discourse retorna erro 403 \["BAD CSRF"\]

**URL:** <https://meta.discourse.org/t/discourse-admin-login-throws-403-bad-csrf-error/86028>\
**Category:** Product Support\
**Created:** [24 Abril , 2018 03:19 UTC](https://meta.discourse.org/t/discourse-admin-login-throws-403-bad-csrf-error/86028 "2018-04-24T03:19:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lzhang](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lzhang](https://meta.discourse.org/u/lzhang)\
**Post date:** [24 Abril , 2018 03:19 UTC](https://meta.discourse.org/t/discourse-admin-login-throws-403-bad-csrf-error/86028/1 "2018-04-24T03:19:22Z")

</div>

We had a discourse build on AWS with CentOS 7 operation system, we followed the document and used docker to build discourse with almost default settings. It was working well at first, but since last Friday suddenly we couldn’t login to it, got 403 [“BAD CSRF”] error doing any POST calls.

We didn’t use any reverse proxy in front of docker, we directly map the docker instance with 80 port of AWS server, we didn’t use ssl.

After getting the error, we tried pulling latest git code and did a full rebuild, but still getting the 403 error.

Any suggestions what else we could do?

Thanks,  
Lei Zhang

---

_[View the full topic](https://meta.discourse.org/t/discourse-admin-login-throws-403-bad-csrf-error/86028)._
