尝试在 Azure 上使用 GoogleOauth 登录,但出现空白页

问题描述

enter image description here

当我尝试使用谷歌登录时,却显示空白页面

它在本地做得很好,但是当我尝试在 vm 中做到这一点时。它没有用。

我现在必须做什么?

@googleOauth.route("/login")
def login():
    authorization_url,state = flow.authorization_url(
        access_type = "offline",include_granted_scopes = 'true'
    )
    # print('authorization_url: ',authorization_url)
    return redirect(authorization_url)

这是我的后端代码。 (烧瓶)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)