【问题标题】:How to integrate Superset with gcloud oAuth?如何将 Superset 与 gcloud oAuth 集成?
【发布时间】:2020-09-23 05:40:40
【问题描述】:

我正在尝试集成到 gcloud oAuh2.0。这是代码sn-p:

OAUTH_PROVIDERS = [
    {
       'name': 'google',
       'whitelist': ['@gmail.com'],
       'icon': 'fa-google',
       'token_key': 'access_token', 
       'remote_app': {
            'base_url': 'https://www.googleapis.com/oauth2/v2/',
            'request_token_params': {
              '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',
            'consumer_key': 'myKeyID',
            'consumer_secret': 'MySecret'
        }
    }
]

我也可以访问授权页面并成功登录,但在签名后它会将我重定向到显示无效登录详细信息的页面(即使 Google 已验证它)。 这是我收到的:

可能是什么错误?

【问题讨论】:

    标签: apache-superset superset


    【解决方案1】:

    解决了错误,我正在尝试使用预先注册的电子邮件进行注册,很抱歉造成混乱!

    【讨论】:

      猜你喜欢
      • 2019-07-26
      • 1970-01-01
      • 1970-01-01
      • 2019-09-14
      • 1970-01-01
      • 2021-11-10
      • 1970-01-01
      • 1970-01-01
      • 2021-02-19
      相关资源
      最近更新 更多