小编Nih*_*382的帖子

Airflow Google 身份验证无法按预期工作

我按照文档中提供的步骤操作:https : //airflow.apache.org/security.html#google-authentication

完成所有步骤并重新启动网络服务器后。我没有看到登录页面有任何区别,它仍然要求我进行密码验证。我不确定如何在网页上获取 google 登录选项。我在网络服务器日志上没有收到任何错误。

Configuration=> airflow.cfg:
authenticate = True
#auth_backend = airflow.contrib.auth.backends.password_auth
auth_backend = airflow.contrib.auth.backends.google_auth

[google]
client_id = <client id>
client_secret = <secret key>
oauth_callback_route = /oauth2callback
domain = <domain_name>.com
Run Code Online (Sandbox Code Playgroud)

google-authentication airflow

3
推荐指数
1
解决办法
2928
查看次数

标签 统计

airflow ×1

google-authentication ×1