This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new b5aecaf docs: Update OAuth configuration in installation.rst (#10748)
b5aecaf is described below
commit b5aecaff5cbe724c1e9e8226cc13daf0ca02099b
Author: Jagadish <[email protected]>
AuthorDate: Wed Sep 2 20:40:49 2020 +0530
docs: Update OAuth configuration in installation.rst (#10748)
Co-authored-by: jagadish <[email protected]>
---
docs/installation.rst | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/docs/installation.rst b/docs/installation.rst
index 5b1d1aa..05ceb14 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -1495,19 +1495,15 @@ The first step: Configure authorization in Superset
``superset_config.py``.
'token_key':'access_token', # Name of the token in the response of
access_token_url
'icon':'fa-address-card', # Icon for the provider
'remote_app': {
- 'consumer_key':'myClientId', # Client Id (Identify Superset
application)
- 'consumer_secret':'MySecret', # Secret for this Client Id
(Identify Superset application)
- 'request_token_params':{
+ 'client_id':'myClientId', # Client Id (Identify Superset
application)
+ 'client_secret':'MySecret', # Secret for this Client Id
(Identify Superset application)
+ 'client_kwargs':{
'scope': 'read' # Scope for the Authorization
},
- 'access_token_method':'POST', # HTTP Method to call
access_token_url
'access_token_params':{ # Additional parameters for
calls to access_token_url
'client_id':'myClientId'
},
- 'access_token_headers':{ # Additional headers for calls to
access_token_url
- 'Authorization': 'Basic Base64EncodedClientIdAndSecret'
- },
-
'base_url':'https://myAuthorizationServer/oauth2AuthorizationServer/',
+
'api_base_url':'https://myAuthorizationServer/oauth2AuthorizationServer/',
'access_token_url':'https://myAuthorizationServer/oauth2AuthorizationServer/token',
'authorize_url':'https://myAuthorizationServer/oauth2AuthorizationServer/authorize'
}