ory / ory/polis

@boxyhq/saml-jackson 26.2.0 missing google-auth-library dependency

Open Beginner friendly
#4,072 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

Summary

@boxyhq/saml-jackson@26.2.0 requires google-auth-library at runtime for Google Workspace directory sync, but does not declare it in package.json dependencies.

Reproduction

  1. Install @boxyhq/saml-jackson@26.2.0 with pnpm (strict dependency isolation).
  2. Import the package (e.g. await jackson(opts) or any code path that loads directory sync).

Error

Cannot find module 'google-auth-library'
Require stack:
- .../@boxyhq/saml-jackson/dist/directory-sync/non-scim/google/oauth.js

The require is in dist/directory-sync/non-scim/google/oauth.js:

const google_auth_library_1 = require("google-auth-library");

Expected

google-auth-library should be listed in dependencies in @boxyhq/saml-jackson's package.json (similar to @googleapis/admin, which is already declared).

Workaround

Consumers must add google-auth-library themselves, or use pnpm packageExtensions:

packageExtensions:
  '@boxyhq/saml-jackson':
    dependencies:
      google-auth-library: ^10.0.0

Environment

  • @boxyhq/saml-jackson: 26.2.0
  • pnpm 10.x
  • Node 22/24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with pnpm's strict dependency isolation and inspect the package.json dependency list alongside dist/directory-sync/non-scim/google/oauth.js. Confirm that importing @boxyhq/saml-jackson@26.2.0 reaches the missing module error, then verify that a clean install and import succeed once the runtime dependency is declared.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.