0

我正在尝试获取访问令牌(不记名令牌)以调用 Google Cloud Audit Logs API(https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list)。

我想在 POSTMan 中尝试这个,以便我可以按计划通过脚本使用这些原始 HTTP 调用。

我正在从 POSTMan 发出以下 GET 调用以获取访问令牌。

https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/logging.read&redirect_uri=https://developers.google.com/oauthplayground&response_type=token&client_id=<my-client-id>.apps.googleusercontent.com&access_type=online

虽然我收到了200 OK回复,但回复不包括访问令牌。

我错过了什么?

谢谢,马赫什。

4

0 回答 0