<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>winebarrel</author_name>
  <author_url>https://blog.hatena.ne.jp/winebarrel/</author_url>
  <blog_title>so what</blog_title>
  <blog_url>https://so-wh.at/</blog_url>
  <categories>
  </categories>
  <description>Google Apps ScriptからプライベートなサービスのAPIを呼び出す場合、何らかの認証が必要になるので、GASから取得したOAuth2アクセストークンを検証するプロキシサーバを作ってみた。 github.com 仕組み ScriptApp.getOAuthToken()を使うと有効なユーザーの OAuth 2.0 アクセス トークンを取得できる。※appscript.jsonの修正が必要 // appscript.json { &quot;timeZone&quot;: &quot;Asia/Tokyo&quot;, &quot;dependencies&quot;: {}, &quot;exceptionLogging&quot;: &quot;STACKDRIVER…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F2025%2F09%2F07%2F152411&quot; title=&quot; Google Apps Scriptからのアクセスを雑に認証する - so what&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/w/winebarrel/20250907/20250907150825.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-07 15:24:11</published>
  <title> Google Apps Scriptからのアクセスを雑に認証する</title>
  <type>rich</type>
  <url>https://so-wh.at/entry/2025/09/07/152411</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
