firebase / firebase/firebase-admin-java

[FR] Support generateVerifyAndChangeEmailLink

Đang mở
#1,149 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs-triage type: feature request
Ngôn ngữ chính
Java
Star
620
Fork
305
Merge trung bình
3 giờ 23 phút
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xác định API tạo liên kết email của Java SDK và enum EmailLinkType được đề cập trong issue, sau đó so sánh các loại liên kết hiện được hỗ trợ với khả năng hỗ trợ generateVerifyAndChangeEmailLink của Node SDK. Hoàn thành có nghĩa là Java SDK cung cấp VERIFY_AND_CHANGE_EMAIL và khả năng generateVerifyAndChangeEmailLink tương ứng, cùng với coverage cho hành vi mới.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
authentication
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.