CodeForAfrica / sensors.AFRICA-api

The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
https://api.sensors.africa/
18 stars 7 forks source link

CSRF validation failed in Django 4 #133

Open gideonmaina opened 1 year ago

gideonmaina commented 1 year ago

A list of CSRF_TRUSTED_ORIGINS is required for unsafe requests.

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