CodeForAfrica / CodeForAfrica/sensors.AFRICA-api

CSRF validation failed in Django 4

Open
#133 0 comments 0 reactions 1 assignee Claimed by @gideonmaina View on GitHub
enhancement
Dominant language
Python
Stars
18
Forks
8
PR merge metrics
No merged PRs in 30d

Description

A list of [CSRF_TRUSTED_ORIGINS](https://docs.djangoproject.com/en/4.2/ref/settings/#csrf-trusted-origins) is required for unsafe requests.

Raised error: `Origin checking failed - does not match any trusted origins`
A wildcard to support all subdomains would be suitable. @thepsalmist

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.