change: Migrate credentials to use google-auth-library by lahirumaramba · Pull Request #2466 · firebase/firebase-admin-node · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change: Migrate credentials to use google-auth-library #2466

Merged
merged 10 commits into from
Nov 4, 2024

Conversation

lahirumaramba
Copy link
Member

@lahirumaramba lahirumaramba commented Feb 21, 2024

  • Migrate Application default credentials, Service account credentials, Refresh token credentials, and Compute engine credentials to use google-auth-library

Resolves: #1377

Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

Looks good so far! Left one comment.

);
return {
...credentials,
access_token: accessToken,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to assign access_token here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I am keeping the shape of the internal GoogleOAuthAccessToken type here

@lahirumaramba lahirumaramba self-assigned this Feb 29, 2024
@foxrafa
Copy link
Contributor

foxrafa commented May 13, 2024

I submitted a fix for ADC not working for human accounts here #2553

@VitaliAndrushkevich
Copy link

Could you please provide an update on the status of this PR?
CC: @lahirumaramba

@KemingHe
Copy link

KemingHe commented Jul 7, 2024

@lahirumaramba @hsubox76 Hello there, as a firebase admin sdk user, I much look forward to this PR getting through, could you please give us a status update? Thank you.

@lahirumaramba lahirumaramba marked this pull request as ready for review November 1, 2024 22:01
@lahirumaramba lahirumaramba marked this pull request as draft November 1, 2024 22:01
@lahirumaramba lahirumaramba marked this pull request as ready for review November 1, 2024 22:02
@lahirumaramba lahirumaramba marked this pull request as draft November 1, 2024 22:02
@lahirumaramba lahirumaramba marked this pull request as ready for review November 1, 2024 22:02
@lahirumaramba lahirumaramba changed the title feat: Migrate credentials to use google-auth-library change: Migrate credentials to use google-auth-library Nov 3, 2024
@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Allow credential file type "external_account" when calling admin.credential.applicationDefault()
6 participants