Skip to content

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

Merged
lahirumaramba merged 10 commits into
masterfrom
lm-migrate-cred-stage1
Nov 4, 2024
Merged

change: Migrate credentials to use google-auth-library#2466
lahirumaramba merged 10 commits into
masterfrom
lm-migrate-cred-stage1

Conversation

@lahirumaramba

@lahirumarambalahirumaramba commented Feb 21, 2024

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

Resolves: #1377

@jonathanedeyjonathanedey left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
MemberAuthor

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

@lahirumarambalahirumaramba self-assigned this Feb 29, 2024
@foxrafa

Copy link
Copy Markdown
Contributor

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

@VitaliAndrushkevich

Copy link
Copy Markdown

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

@KemingHe

Copy link
Copy Markdown

@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
@lahirumarambalahirumaramba changed the title feat: Migrate credentials to use google-auth-librarychange: Migrate credentials to use google-auth-libraryNov 3, 2024
@lahirumarambalahirumaramba added the release:stage Stage a release candidate label Nov 3, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stageStage a release candidaterelease-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

@lahirumaramba@foxrafa@VitaliAndrushkevich@KemingHe@hsubox76@jonathanedey