Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

emailLinkSignIn not working

Aperta
#112 1 commento 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, react

Direzione di ricerca

Inizia dal punto di ingresso di StyledFirebaseAuth e riproduci il flusso con firebaseAuthConfig.emailLinkSignIn.url impostato, confrontandolo con la configurazione funzionante senza emailLinkSignIn. Verifica se facendo clic sul link nell’e-mail viene chiamato signInSuccessWithAuthResult e conferma che l’utente abbia effettuato l’accesso e venga reindirizzato all’URL configurato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When setting firebaseAuthConfig (to be given to StyledFirebaseAuth), if emailLinkSignIn
is set and url inside it is defined, the sign-in is not successful, in the sense that clicking the email link won't sign the user in (and the signInSuccessWithAuthResult callback is not invoked --- this is where I set cookies and only if the cookies are set can a user be identified as having signed in). If I don't set emailLinkSignIn then everything is working fine.

What could be the problem, and how could it be fixed?

P.S. Just a note that when I have emailLinkSignIn set, I do see the url is visited but somehow the sign-in is not successful.

Another note: if I'm already signed-in, then including emailLinkSignIn and going through a new sign-in (an email is entered, the link is clicked) will send me to the url inside emailLinkSignIn successfully.

Updated: I've found out that if url points back the auth (it's where I ask for the emails) then it will be a success. I don't understand the current behaviour or if I'm using it correctly. Any help will be appreciated.

Thanks!

Lingua principale
JavaScript
Stelle
1.3k
Fork
246
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/firebaseui-web-react

Tutte le issue di firebase/firebaseui-web-react

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.