mozilla-iam / sso-dashboard

A python flask implementation of an SSO dashboard. OIDC for authentication and message bus for alert pipelines.
Mozilla Public License 2.0
38 stars 47 forks source link

Fix app.env that was causing 500 error on / route #508

Closed dividehex closed 3 months ago

dividehex commented 3 months ago
    Flask removed FLASK_ENV in v2.3.0 which was being checked on
    the root flask route. (Thanks gcox!)
    This commit fixes the environment varible for the seperate
    environments and fixes where the variable is being sourced.

See: https://flask.palletsprojects.com/en/3.0.x/changes/#version-2-3-0