firebase / firebase/firebase-admin-node

Firebase Auth wrongly assumes lastSignInTime is not null

未关闭
#1,608 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: auth
主要语言
TypeScript
星标
1.7k
派生
419
平均合并
3 天 10 小时
30 天内合并 PR
16

描述

lastSignInTime can be null when a user is created by the Admin SDK.

https://github.com/firebase/firebase-admin-node/blob/94dd7c3efb9ff00b0462cf772b803d6abecc2dcc/src/auth/user-record.ts#L305

贡献指南

打开贡献指南

调研方向

Start by reading src/auth/user-record.ts around line 305, where lastSignInTime is handled. Trace the assumption that this value is non-null for users created by the Admin SDK, then check the relevant authentication tests if available. Done means Admin SDK-created users with a null lastSignInTime are handled correctly.

由索引模型根据 Issue 内容生成。

评估

技术栈
nodejs, typescript
领域
authentication
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。