firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

Aberta
#1,149 1 comentário 0 reações 0 responsáveis Ver no GitHub
needs-triage type: feature request
Linguagem predominante
Java
Estrelas
620
Forks
305
Merge médio
3h 23min
PRs com merge (30d)
1

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece localizando a API de geração de links de e-mail do Java SDK e o enum EmailLinkType mencionado na issue; em seguida, compare os tipos de link compatíveis existentes com o suporte a generateVerifyAndChangeEmailLink do Node SDK. A tarefa estará concluída quando o Java SDK expuser VERIFY_AND_CHANGE_EMAIL e uma capacidade correspondente de generateVerifyAndChangeEmailLink, com cobertura para o novo comportamento.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java
Domínio
authentication
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.