firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

Aperta
#1,149 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
needs-triage type: feature request
Lingua principale
Java
Stelle
620
Fork
305
Merge medio
3h 23m
PR unite (30g)
1

Descrizione

**Is your feature request related to a problem? Please describe.**

I have a Spring Boot application for which I use Firebase Admin SDK installed from Maven, version 9.7.0.

As I'd like to send to my users custom email templates regarding email confirmation, password reset and others. To do that I have to use link generation methods that SDK provides and then include that link in custom templates.

I noticed, that latest version of SDK does not support generating email links for changing user e-mail address
i.e. **generateVerifyAndChangeEmailLink**, that seems to be already supported for example in Node SDK.

Supported link types in SDK as of now:
```
static enum EmailLinkType {
VERIFY_EMAIL,
EMAIL_SIGNIN,
PASSWORD_RESET;
}
```

I believe VERIFY_AND_CHANGE_EMAIL also might be useful alongside with supporting methods.

**Describe the solution you'd like**
Add support for generateVerifyAndChangeEmailLink with VERIFY_AND_CHANGE_EMAIL.

**Describe alternatives you've considered**
I believe as an alternative it might be possible to create API calls from scratch though I believe having dedicated methods is better and easier for developers.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the Java SDK's email-link generation API and the EmailLinkType enum mentioned in the issue, then compare the existing supported link types with the Node SDK's generateVerifyAndChangeEmailLink support. Done means the Java SDK exposes VERIFY_AND_CHANGE_EMAIL and a corresponding generateVerifyAndChangeEmailLink capability, with coverage for the new behavior.

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

Valutazione

Stack tecnologico
java
Ambito
authentication
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.