amarolx opened a new issue #12572:
URL: https://github.com/apache/superset/issues/12572


   If you use the version v.0.38.0 and need to use google oauth. use this 
config. After the version 3.1.1 of Flask-AppBuilder, the method of config by 
google is change. 
   
   Can you update the documentation?
   
   Reference https://github.com/dpgaspar/Flask-AppBuilder
   
   ```
   OAUTH_PROVIDERS = [
       {'name':'google', 'icon':'fa-google', 'token_key':'access_token',
           'remote_app': {
               'client_id':'GOOGLE KEY',
               'client_secret':'GOOGLE SECRET',
               'api_base_url':'https://www.googleapis.com/oauth2/v2/',
               'client_kwargs':{
                 'scope': 'email profile'
               },
               'request_token_url':None,
               'access_token_url':'https://accounts.google.com/o/oauth2/token',
               'authorize_url':'https://accounts.google.com/o/oauth2/auth'}
       }
   ]
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to