# Origin checking failed with SSL (https)

**URL:** <https://forum.djangoproject.com/t/origin-checking-failed-with-ssl-https/20158>\
**Category:** Forms & APIs\
**Created:** [April 9, 2023, 8:43pm UTC](https://forum.djangoproject.com/t/origin-checking-failed-with-ssl-https/20158 "2023-04-09T20:43:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [April 9, 2023, 10:32pm UTC](https://forum.djangoproject.com/t/origin-checking-failed-with-ssl-https/20158/6 "2023-04-09T22:32:35Z")

</div>

Is CORS an issue here? Are you loading JavaScript from a different site that needs to make requests to your site?

Regarding the CSRF\_TRUSTED\_ORIGINS, it is needed. (I made a mistake, there is no CSRF\_ALLOWED\_ORIGINS.)

It will also be helpful if you show how you’re doing the post to Django. Is it a form being posted or some type of AJAX call?

---

_[View the full topic](https://forum.djangoproject.com/t/origin-checking-failed-with-ssl-https/20158)._
