带有github v4 graphql端点的OAuth2密钥/秘密

时间:2018-07-21 14:13:56

标签: github graphql github-api

如何为github的graphql端点传递clientId和secret?

在文档中,他们已将其显示为其余端点,但不确定新api(v4)如何与server to server调用一起使用。

https://developer.github.com/v3/#oauth2-keysecret

curl 'https://api.github.com/graphql?client_id=xxxx&client_secret=yyyy'
{
  "message": "This endpoint requires you to be authenticated.",
  "documentation_url": "https://developer.github.com/v3/#authentication"
}

0 个答案:

没有答案