标签: redirect oauth-2.0 oauth microsoft-graph-api reddit
我在使用 MS Graph API 和 reddit API 时遇到了同样的问题。这两个 API 都需要使用 OAuth2 进行身份验证。
因为我只运行一个脚本,所以我没有任何“重定向 uri”。我该怎么做才能在我的脚本中使用 OAuth2?
答案 0 :(得分:0)
为了回答我自己的问题,经过进一步调查后,我在 reddit 上发现了 this python example。我应该检查这种类型的请求是否也适用于 MS Graph API,因为在 postman 中执行它很麻烦。