Ross ROSS = Recommend OSS · open-source software intelligence for agents

googleworkspace/apps-script-oauth2

An OAuth2 library for Google Apps Script. observed · 2026-08-28

github.com/googleworkspace/apps-script-oauth2 · homepage · JavaScript · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

62/100

  • Activity 87
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4405
  • days_rel: n/a
  • days_push: 78
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1744 stars · 457 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity active

auth http-client developer-tools apis web-development cloud oauth2 google-apps-script token-management google-workspace authorization-flow automation web-server javascript

2 sources

Member repositories

RepositoryRoleHealth v2
googleworkspace/apps-script-oauth2main62

For agents

markdown · JSON · MCP: product_card(name="googleworkspace/apps-script-oauth2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem