Cannot call `getSignedUrl` when using authorized_user default credentials locally
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js, typescript
- 領域
- authentication, cloud
調査の方向性
まず firebaseAdmin.credential.applicationDefault() と Bucket.file().getSignedUrl() を追跡し、authorized_user 認証情報で利用できる認証情報フィールドと署名要件を比較します。この認証情報タイプがサポートされているかを明らかにするか、文書化された回避策を特定するか、必要な SDK の変更を定義できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
[READ] Step 1: Are you in the right place?
- For issues related to the code in this repository file a Github issue.
- If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template. - For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the firebase-talk
google group. - For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: macOS 11.7.9
- Firebase SDK version: firebase-admin 11.11.0
- Firebase Product: Cloud Storage
- Node.js version: 18
- NPM version: 9.9.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
I'm initializing like:
export const admin = firebaseAdmin.initializeApp({
credential: firebaseAdmin.credential.applicationDefault(),
...
but when I do that am unable to call Bucket.file().getSignedUrl() with the error:
Error: Cannot sign data without `client_email`
Looking into my local Firebase credentials, I notice there is no client_email there, but there is when using service accounts. I've found some issues around that seem to say this isn't possible with a personal service account (example).
If that's true, is it not possible at all to use my personal service account to work with files? Or is there a workaround that will enable this to work?
- 主要言語
- TypeScript
- スター
- 1.7k
- フォーク
- 419
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 16
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/firebase-admin-node のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
firebase/firebase-admin-node#3234 ·
メンテナーはふだん 1 日以内に返信
-
[email protected] stable dependency tree fails npm audit via Storage uuid and Firestore google-gax対応中かも @lahirumaramba が 18 日前に担当しました。 オープン
firebase/firebase-admin-node#3221 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
api: messaging
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
firebase/firebase-admin-node#3215 ·
メンテナーはふだん 1 日以内に返信
-
api: messaging
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
firebase/firebase-admin-node#3214 ·
メンテナーはふだん 1 日以内に返信
-
[Firestore] Re-export functions from '@google-cloud/firestore/pipelines'再び着手できるかも @jonathanedey が 89 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンapi: firestore type: feature request
firebase/firebase-admin-node#3183 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
firebase/firebase-admin-node の issue をすべて見る
似ている issue
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Fission-AI/OpenSpec#1986 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nestjs/docs.nestjs.com#3554 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
publicodes/publicodes#868 ·
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
EclipseFdn/open-vsx.org#13488 ·
メンテナーはふだん 2 日以内に返信