###### tags: `GOOGLE` # Google OAuth 2 playground [OAuth playground](https://developers.google.com/oauthplayground/) ## 使用方式 右上角選擇設定 ![](https://i.imgur.com/c1jqEr6.png) - OAuth flow: 選擇 `Server-side` - OAuth endpoints: 維持 `Google`,但記得在 `Authorized redirect URIs` 加上 `https://developers.google.com/oauthplayground` > [OAuth playground 文件](https://developers.google.com/google-ads/api/docs/oauth/playground?hl=en) > ![](https://i.imgur.com/heYHfK9.png) - Access type: `Offline` 這樣方便透過 playground 重新獲得 `access_token` - Use your own OAuth credentials: 打勾,並填上自己的 `OAuth Client ID` 及 `OAuth Client secret` 左邊選擇要打得 scopes or 直接打在 input 上,中間用空白分開,example `openid email` ![](https://i.imgur.com/bcyTBqS.png)