Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FR] Add `returnUserInfo` to Admin SDK

Đang mở
#2,573 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@lahirumaramba đang làm issue này rồi.

Từ ngày 18/11/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

api: auth type: feature request

Is your feature request related to a problem? Please describe.
We currently cannot count the number of users using the Firebase Admin Auth SDK. However, this is available in REST API with more boilerplate.

Describe the solution you'd like
Add a returnUserInfo function to the Firebase Admin Auth SDK.

Describe alternatives you've considered
Running the REST API manually:

const url = `https://identitytoolkit.googleapis.com/v1/projects/${projectID}/accounts:query?alt=json`;
const options = {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${token.access_token}`
    },
    body: JSON.stringify({
        "returnUserInfo": false,
        "expression": []
    })
};

return await fetch(url, options).then(response => response.json());

Additional context
Should be simple to add.

J

Ngôn ngữ chính
TypeScript
Star
1.7k
Fork
419
Merge trung bình
4 ngày 20 giờ
Pull request đã merge (30 ngày)
16

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/firebase-admin-node

Tất cả issue của firebase/firebase-admin-node

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.