Skip to content

chore: Google auth library nodejs migration#164

Merged
GautamSharda merged 1082 commits intomainfrom
google-auth-library-nodejs-migration
Oct 31, 2025
Merged

chore: Google auth library nodejs migration#164
GautamSharda merged 1082 commits intomainfrom
google-auth-library-nodejs-migration

Conversation

@GautamSharda
Copy link
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

release-please bot and others added 30 commits August 19, 2022 10:44
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
… (#1436)

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
* chore(deps): update gtoken

* feat: pass jwt transporter to gtoken

Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
* feat: adding support for configurable token lifespan

* fix: fixing lint error and adding documentation

* fix: changing readme

* fix: removing unintentional whitespace

* fix: minor readme edits

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
Co-authored-by: Leo <39062083+lsirac@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* feat: adding workforce documentation to readme

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* feat: Support Not Requiring `projectId` When Not Required

* test: Add test for `null` projectId support
🤖 I have created a release *beep* *boop*
---


## [8.5.0](googleapis/google-auth-library-nodejs@v8.4.0...v8.5.0) (2022-08-31)


### Features

* Support Not Requiring `projectId` When Not Required ([#1448](googleapis/google-auth-library-nodejs#1448)) ([b37489b](googleapis/google-auth-library-nodejs@b37489b))


### Bug Fixes

* add hashes to requirements.txt ([#1544](googleapis/google-auth-library-nodejs#1544)) ([#1449](googleapis/google-auth-library-nodejs#1449)) ([54afa8e](googleapis/google-auth-library-nodejs@54afa8e))
* remove `projectId` check for `signBlob` calls ([6c04661](googleapis/google-auth-library-nodejs@6c04661))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop*
---


## [8.5.1](googleapis/google-auth-library-nodejs@v8.5.0...v8.5.1) (2022-08-31)


### Bug Fixes

* do not use #private ([#1454](googleapis/google-auth-library-nodejs#1454)) ([6c30274](googleapis/google-auth-library-nodejs@6c30274))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
…rrors (#1457)

* refactor: Use payload as message for reauth-related `invalid_grant`

* test: fix

* refactor: use `Array.isArray`
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* feat: adding validation for psc endpoints

* lint fix

* adding test cases
This reverts commit 86b258da699810ead624419333a1a7f998f1b376.
* fix: Validate url domain for aws metadata urls

* lint

* refactor and add test for ipv6

* update undefined check
* feat: Introduce environment variable for quota project

* remove new line

* add awaits

* clean up cached cred logic

* add explicit quota project

* remove explicit value

* enhance test

Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
Notes:
- Validates a URL's `hostname` rather than`host`
- Added test for URL with port
- Uses static variables for AWS metadata IP Addresses
- `RangeError` rather than `Error`
- Separated validators from setters in `constructor`
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* refactor: Fix `idTokenClient` sample

The types were incorrect.

* refactor: Unify `GoogleAuth#fromJSON` logic

* refactor: remove unused type
…rievable through environment vars (#1493)

* fix: do not call metadata server if security creds and region are retrievable through environment vars

* comments

* refactor

* review

* fix for consistency

* lint

* remove docs check

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Bankhead <danielbankhead@google.com>
* test: Use Native FS Temp Directory Tools

Fixes: #1481

* build: fix linkinator config fo 169.254.169.254

* revert: linkinator debug
release-please bot and others added 8 commits October 15, 2025 10:49
@GautamSharda GautamSharda requested a review from a team as a code owner October 30, 2025 22:48
@GautamSharda GautamSharda force-pushed the google-auth-library-nodejs-migration branch from e8dcbaa to c9c9ce5 Compare October 30, 2025 22:58
Comment on lines +82 to +83
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"system-test": "npm run compile && c8 mocha build/system-test",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

miguelvelezsa
miguelvelezsa previously approved these changes Oct 30, 2025
@GautamSharda GautamSharda force-pushed the google-auth-library-nodejs-migration branch from da49db5 to 61bdcd9 Compare October 31, 2025 00:10
@GautamSharda GautamSharda force-pushed the google-auth-library-nodejs-migration branch from 1bcd6e3 to a97debf Compare October 31, 2025 00:15
sofisl
sofisl previously approved these changes Oct 31, 2025
@GautamSharda GautamSharda merged commit bdf8cf4 into main Oct 31, 2025
11 checks passed
@GautamSharda GautamSharda deleted the google-auth-library-nodejs-migration branch October 31, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.