firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

未關閉
#1,149 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
needs-triage type: feature request
主要語言
Java
星號
620
分支
305
平均合併
3 小時 23 分鐘
30 天內合併 PR
1

描述

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

貢獻指南

開啟貢獻指南

研究方向

先找出 Java SDK 的電子郵件連結產生 API,以及 issue 中提到的 EmailLinkType enum,然後將現有支援的連結類型與 Node SDK 對 generateVerifyAndChangeEmailLink 的支援進行比較。完成的標準是 Java SDK 暴露 VERIFY_AND_CHANGE_EMAIL 和對應的 generateVerifyAndChangeEmailLink 功能,並為新行為提供覆蓋。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
authentication
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。