openoakland / woeip

A platform for impacted communities to understand their local air quality and advocate for environmental justice.
https://woaq.org
MIT License
29 stars 16 forks source link

Production Configuration for Authentication #448

Open TangoYankee opened 2 years ago

TangoYankee commented 2 years ago

Describe the bug When attempting a production build with changes in #435, attempting to register an account was undermined by a CORS error. In the docker console the proxy had an ssl handshake error.

To Reproduce Steps to reproduce the behavior:

  1. Create production build of the whole application
  2. Attempt to register a user

Expected behavior The CORS Settings in Django should allow requests from woaq.org

Additional context

435 removes the NGINX config file, which included CORS settings

Labels

Affected Components (For Developers) NGINX Server, DJANGO CORS settings

TangoYankee commented 2 years ago

Reverting the NGINX conf did not resolve the issue