verdan / flaskoidc

A wrapper of Flask with pre-configured OIDC support
Apache License 2.0
52 stars 35 forks source link

Flask 2.3 has removed the 'ENV' config #35

Closed joostrijneveld closed 2 months ago

joostrijneveld commented 2 months ago

This line has simply disappeared from the upstream make_config method.

This change fixes ImportError: cannot import name 'get_env' from 'flask.helpers'

verdan commented 2 months ago

@joostrijneveld can you please update the Flask version in this package since you are making the change related to the newer version of Flask.

joostrijneveld commented 2 months ago

Hmm, fair point! How about like this? That way, we're not breaking compatibility with older versions that do provide the existence of 'DEV'.