firebase / firebase/firebase-admin-node
Firebase Auth wrongly assumes lastSignInTime is not null
Aperta
api: auth
- Lingua principale
- TypeScript
- Stelle
- 1.7k
- Fork
- 419
- Merge medio
- 3g 10h
- PR unite (30g)
- 16
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- nodejs, typescript
- Ambito
- authentication
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100