A few notes to get this working:
- Need to have an Okta tenant, with an OIDC+web app
- Must allow Superset to see all of a user's groups by editing the Okta-app's Groups Claim Filter to be Matches regex
.*
(Okta docs) - Check out
apache/superset/
locally - Add the following values from your Okta tenant / app to
docker/.env-non-dev
(Superset docker docs)OKTA_DOMAIN
(e.g.dev-{your_id}.okta.com
)OKTA_CLIENT_ID
(from your OIDC app's config)OKTA_CLIENT_SECRET
(from your OIDC app's config)
- Add the below snippet to
docker/pythonpath_dev/superset_config_docker.py
- Note: This is based on the FlaskAppBuilder docs and [this other gist](https://gist.github.com/ktmud/2475282a166893e5d1