From b5aecaff5cbe724c1e9e8226cc13daf0ca02099b Mon Sep 17 00:00:00 2001 From: Jagadish Date: Wed, 2 Sep 2020 20:40:49 +0530 Subject: [PATCH] docs: Update OAuth configuration in installation.rst (#10748) Co-authored-by: jagadish --- docs/installation.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 5b1d1aa86..05ceb14c1 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' }