PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
32 stars 86 forks source link

Publicize public auth0 variables to allow contributions via fork #1664

Closed anth-volk closed 2 weeks ago

anth-volk commented 2 weeks ago

Description

Fixes #1653.

Changes

This PR takes two auth0 settings that were previously environment variables and makes them constants. As relayed in #1653, these values are public-facing, anyway, and setting them as constants ensures that contributors can properly run the app inside forks. We don't currently support any other configurations, so there seems to be no benefit to allowing these values to be overridden by environment variables, either.

Screenshots

The app running without environment variables provided:

Screen Shot 2024-04-30 at 12 23 34 AM

Tests

N/A

anth-volk commented 2 weeks ago

Converting to draft, as I'm curious to hear from an outside contributor in #1663 who set up his own auth0 config in order to test the app.