如何在 Slack API 中获取临时授权码?
How to obtain temporary authorization code in Slack API?
我指的是 https://api.slack.com/docs/oauth#flow 在 PostMan 中获取访问令牌。
此外,我已经从 https://github.com/lonelyclaud/slack-api-postman
下载了 slack api 的 repo
以下命令 returns 状态 200,但没有授权代码。
curl -X GET \
'https://slack.com/oauth/authorize?client_id=9XX331444993.996747590037&scope=team%3Aread+users%3Aread%20' \
-H 'Postman-Token: f2dc4c20-5b7d-4ed2-b71f-08ecad81fd8c' \
-H 'cache-control: no-cache'
谁能解释一下如何获取代码,代码又将用于获取令牌?
得到我的答案,这里是 link 使用 Postman Create a Slack app and authenticate with Postman
获取授权令牌
我指的是 https://api.slack.com/docs/oauth#flow 在 PostMan 中获取访问令牌。
此外,我已经从 https://github.com/lonelyclaud/slack-api-postman
下载了 slack api 的 repo以下命令 returns 状态 200,但没有授权代码。
curl -X GET \
'https://slack.com/oauth/authorize?client_id=9XX331444993.996747590037&scope=team%3Aread+users%3Aread%20' \
-H 'Postman-Token: f2dc4c20-5b7d-4ed2-b71f-08ecad81fd8c' \
-H 'cache-control: no-cache'
谁能解释一下如何获取代码,代码又将用于获取令牌?
得到我的答案,这里是 link 使用 Postman Create a Slack app and authenticate with Postman
获取授权令牌