Vendor OAuth2 for the oauth module: Google and Microsoft presets, Google service accounts
Formerly @jennifer/oauthext.
oauthoauth2googlemicrosoftentra
[decks]
"@deckyard/oauthext" = "^0.4.0"| Version | Status | Kind | Pin | Requires | Engines | Capabilities |
|---|---|---|---|---|---|---|
| 0.4.0 | live | git | d7275661b5f1 | - | jennifer >=0.27.0 | net |
LGPL-3.0-only
0.4.0Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.
Vendor-specific OAuth2 for the bundled oauth module of Jennifer: Config presets for Google™ and Microsoft Entra™ ID, and Google service-account logins from a JSON key file (the RFC 7523 JWT bearer grant), which open Google Cloud™ and Workspace™ APIs to a program with no user. The presets were oauth.google / oauth.microsoft in the bundled module up to Jennifer 0.25.
Up to 0.3.0 this deck was @jennifer/oauthext. To switch, change the [decks] entry to "@deckyard/oauthext" = "^0.4.0" and the imports to "@deckyard/oauthext/".
jvc add @deckyard/oauthextThis vendors the deck to vendor/<scope>/oauthext/. Without jvc, unpack the src/ subtree of a release archive (<scope>-oauthext-<version>.tar.gz) there.
use fs;
import "oauth.j" as oauth;
import "@deckyard/oauthext/" as oauthext;
def tok as oauth.Token init oauthext.googleServiceAccount(
fs.readString("service-account.json"),
"https://www.googleapis.com/auth/cloud-platform");
def cfg as oauth.Config init oauthext.microsoft("common", $clientId, "",
"https://outlook.office.com/IMAP.AccessAsUser.All offline_access");Jennifer 0.27.0 or newer, the default jennifer binary (the deck needs net; the stock jennifer-tiny has no network driver). RS256 signing for service accounts is in the default binary.
tools/check-all.sh # the full gate, as CI runs it
jennifer test src/oauthext_test.j # the test overlay
tools/check-docs.sh # docs against the code
tools/pack.sh dist # build the release archiveLGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.
tools/check-headers.sh checks every source file's SPDX header against deck.toml.
Google™, Google Cloud™ and Google Workspace™ are trademarks of Google LLC. Microsoft™ and Microsoft Entra™ are trademarks of Microsoft Corporation. Other product and company names may be trademarks of their respective owners. They are used only to identify the products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by Google LLC or Microsoft Corporation.