gpt4 book ai didi

php - 雅虎是否支持 oauth 的状态参数?

转载 作者:行者123 更新时间:2023-12-02 22:27:45 25 4
gpt4 key购买 nike

Google 和 FB 正确支持 oauth 的“state”参数。雅虎怎么样?

如何在 Yahoo oauth 流程中跨请求传递自定义数据?

最佳答案

正如 Jan 所说,Yahoo 是 OAuth 1...并且不需要状态参数。

您会注意到 Google 和 FB 要求每个回调 URL 都明确定义/注册到 Google/FB。如果您想偏离这些 URL...您需要使用 state 参数。

Yahoo 只要求您注册回调 URL 的主机/域。其余的完全可变,可能包含您想要的任何参数 http://myregistereddomain.com/whateverpath/?some_param=whatevr&state=heres_your_state&foo=bar

关于php - 雅虎是否支持 oauth 的状态参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12714950/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com