【问题标题】:How to set the OAuth 2.0 state parameter in the Google API client library for python如何在 Python 的 Google API 客户端库中设置 OAuth 2.0 状态参数
【发布时间】:2015-07-09 12:13:13
【问题描述】:

oauth2client.client.OAuth2WebServerFlow() 构造函数及其step1_get_authorize_url 方法均不接受状态参数。我知道我可以将状态存储在会话 cookie 中,但我仍然很好奇库​​是否以某种方式支持 state 参数。

【问题讨论】:

    标签: oauth-2.0 google-api-python-client


    【解决方案1】:

    目前这是不可能的。之前提出了一个问题来解决这个问题:https://github.com/google/oauth2client/issues/170,但尚未解决。

    【讨论】:

    猜你喜欢
    • 2014-10-05
    • 2023-03-12
    • 1970-01-01
    • 2018-09-06
    • 1970-01-01
    • 2018-10-12
    • 1970-01-01
    • 2015-10-18
    • 2014-06-18
    相关资源
    最近更新 更多