firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

Abierto
#1,149 1 comentario 0 reacciones 0 asignados Ver en GitHub
needs-triage type: feature request
Lenguaje dominante
Java
Estrellas
620
Forks
305
Merge medio
3 h 23 min
PR fusionados (30 d)
1

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza localizando la API de generación de enlaces de correo electrónico del Java SDK y el enum EmailLinkType mencionado en el issue; después, compara los tipos de enlace compatibles existentes con la compatibilidad de generateVerifyAndChangeEmailLink del Node SDK. Se considera terminado cuando el Java SDK expone VERIFY_AND_CHANGE_EMAIL y una capacidad correspondiente de generateVerifyAndChangeEmailLink, con cobertura para el nuevo comportamiento.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
authentication
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.