OAuth User for Superset
IIn In order to use user authentication in Superset by an OpenLMIS instance an additional user has to be created in OpenLMIS. It is the specific superset user with authorizedGrantTypes
set to authorization_code
. Credentials for this user are in the settings.env file in the selv-v3-configuration repository.
Since 3.9 OLMIS version, it is also required to fill the redirecturi
column set to [superset url]/oauth-authorized/openlmis
value (example: 'https://reporting.test.selv.org.mz:8088/oauth-authorized/openlmis')
...
Superset-patchup
Superset-patchup is a python package that "patches" Superset to add custom functionality that we find to be useful. The SELV project has its own selv-v3-superset-patchup repository.
Remember to check changes in core version of this repository before every release. If necessary, changes from OLMIS core should be porting to selv-v3-superset-patchup repository. The superset-patchup package is used in selv-v3-distro/reporting/superset/Dockerfile