firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

オープン
#1,149 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs-triage type: feature request
主要言語
Java
スター
620
フォーク
305
平均マージ
3時間 23分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。