firebase / firebase/firebase-admin-node
Firebase Auth wrongly assumes lastSignInTime is not null
Offen
api: auth
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.7k
- Forks
- 419
- Ø Merge
- 3 T. 10 Std.
- Gemergte PRs (30 T.)
- 16
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- nodejs, typescript
- Bereich
- authentication
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100