Prototype structure for multiple Flask blueprints in individual files, with shared authentication setup.
- Install dependencies from pip or create Anaconda/Miniconda env with
conda env create -f environment.yml - Configure pyoidc by entering your OIDC settings in
config.py - Run Flask server
run.py
- Enter the website and verify that login is required and that all routes are accessible.
- From
main_routes.pylocalhost:5000/aboutandlocalhost:5000/about - From
sub_routes.pyislocalhost:5000/aux