THis repo documents the experiments with authenication services.
Use pyenv
to get the right python version. Important becuase superset does not support python 3.12
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Once setup the .venv:
cd superset_config
export FLASK_APP=superset
export SUPERSET_CONFIG_PATH=./superset_config.py
export PYTHONPATH="${PYTHONPATH}:./superset_config.py:./custom_sso_security_manager.py"
superset db upgrade
superset fab create-admin
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
cd superset_config
export FLASK_APP=superset
export SUPERSET_CONFIG_PATH=./superset_config.py
export PYTHONPATH="${PYTHONPATH}:./superset_config.py:./custom_sso_security_manager.py"
superset run -p 8088 --with-threads --reload --debugger
Log in with the admin user that you created with superset fab create-admin
superset: https://superset.apache.org/docs/installation/configuring-superset/#custom-oauth2-configuration FAB: https://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-oauth
to access:
sqlite3 ~/.superset/superset.db
See fief.md