Skip to content

Commit

Permalink
Document added env REACT_APP_OPENSRP_OAUTH_STATE
Browse files Browse the repository at this point in the history
  • Loading branch information
ciremusyoka committed Dec 8, 2021
1 parent 56d1172 commit 823d3ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/confd_env.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,5 @@ keys = [
"/react/app/superset/mda/lite/reporting/ward/geojson/slice",
"/react/app/show/map/at/jurisdiction/level",
"/react/app/clients/list/batch/size",
"/react/app/superset/oauth/state",
]
1 change: 1 addition & 0 deletions docker/config.js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@ window._env_ = {
"REACT_APP_SUPERSET_MDA_LITE_REPORTING_WARD_GEOJSON_SLICE": "{{ getv "/react/app/superset/mda/lite/reporting/ward/geojson/slice" "0" }}",
"REACT_APP_SHOW_MAP_AT_JURISDICTION_LEVEL": "{{ getv "/react/app/show/map/at/jurisdiction/level" "99" }}",
"REACT_APP_CLIENTS_LIST_BATCH_SIZE": "{{ getv "/react/app/clients/list/batch/size" "100" }}",
"REACT_APP_SUPERSET_OAUTH_STATE": "{{ getv "/react/app/superset/oauth/state" "opensrp"}}",
}
6 changes: 6 additions & 0 deletions docs/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,9 @@ Below is a list of currently supported environment variables:
- OpenSRP update plan endpoint parameter (`revoke_assignments`) value. Determines if team assignments for complete and retired plans will be revoked or not.
- Options: 'true' and 'false'. Any other value defaults to 'false'.
- default: 'true'

- **REACT_APP_SUPERSET_OAUTH_STATE**

- **Optional**
- Value of superset provider oauth state
- Defaults to the value of `REACT_APP_OPENSRP_OAUTH_STATE` if not provided.

0 comments on commit 823d3ed

Please sign in to comment.