{"adoption": {"forks": 457, "observed_at": "2026-08-28T04:05:30.582176+00:00", "stars": 1744}, "canonical_url": "https://ross.abutalabs.com/products/apps-script-oauth2", "card": {"archived": false, "artifact_type": "library", "description": "An OAuth2 library for Google Apps Script.", "domain": ["apis", "web-development"], "enriched": true, "function": ["auth", "http-client", "developer-tools"], "health_score": 73, "homepage": "https://developers.google.com/apps-script/", "language": "JavaScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["googleworkspace/apps-script-oauth2"], "name": "googleworkspace/apps-script-oauth2", "platform": ["cloud"], "pushed_at": "2026-06-16T13:10:18+00:00", "repo": "googleworkspace/apps-script-oauth2", "stars": 1744, "tags": ["oauth2", "google-apps-script", "token-management", "google-workspace", "authorization-flow", "automation", "web-server", "javascript"], "topics": ["oauth", "google-apps-script", "gsuite", "apps-script", "google-workspace"], "urls": [], "use_cases": ["authenticate a Google Apps Script against a third-party OAuth2 API", "refresh expired OAuth2 access tokens in Apps Script", "connect Apps Script to services not covered by built-in or advanced services", "handle OAuth2 redirect callbacks in a Google Workspace add-on", "store and reuse OAuth2 tokens across script executions"], "what_it_is": "An OAuth2 library for Google Apps Script that creates, authorizes, and refreshes OAuth2 tokens using Apps Script's StateTokenBuilder and /usercallback endpoint. It lets Apps Script projects authenticate against any OAuth2 provider, including Google and third-party APIs.", "when_to_avoid": ["you only call Google APIs covered by built-in or advanced Apps Script services", "you can simply declare scopes in the manifest and use ScriptApp.getOAuthToken()", "you are not working within Google Apps Script"], "when_to_choose": ["your Apps Script needs OAuth2 access to an API without built-in Apps Script support", "you need token refresh handling in a Google Workspace automation", "you want a maintained, Google-published library for OAuth flows in Apps Script"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/apps-script-oauth2", "repo": "googleworkspace/apps-script-oauth2", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:30.582176+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:29:28.596954+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ecbbb46eb5e0be7d96dceee347f44df9999cb5adbe99809bfea076017aaae478", "fetched_at": "2026-08-28T04:05:30.582176+00:00", "kind": "readme", "missing": false, "url": "https://github.com/googleworkspace/apps-script-oauth2"}, {"content_hash": "63a42a5299f000138d1ab4f80c4338b0f14dbd1615b16df3780f74a6f6c72ccb", "fetched_at": "2026-08-29T11:07:23.038177+00:00", "kind": "homepage", "missing": false, "url": "https://developers.google.com/apps-script/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 87, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4405, "days_push": 78, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}