Git Product home page Git Product logo

superset_oauth_authentication_prototyping's Introduction

Oauth phoenix authenication prototyping

THis repo documents the experiments with authenication services.

Set up:

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

Setup superset

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

Run superset

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

http://localhost:8088/

Log in with the admin user that you created with superset fab create-admin

General oauth cusomtisation

superset: https://superset.apache.org/docs/installation/configuring-superset/#custom-oauth2-configuration FAB: https://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-oauth

Default db for superset

https://superset.apache.org/docs/frequently-asked-questions/#:~:text=By%20default%2C%20Superset%20creates%20and,superset%2Fsuperset.

to access:

sqlite3 ~/.superset/superset.db

Fief

See fief.md

superset_oauth_authentication_prototyping's People

Contributors

benjamincerigo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.