Sending a password reset mail

オープン
#373 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp

調査の方向性

FirebaseAdmin/FirebaseAdmin/Auth/Users/EmailActionLinkRequest.cs の参照されている ReturnOobLink 設定から始め、その動作を Firebase Auth REST の send-password-reset-email のドキュメントと比較します。認証済みワークフロー向けに、呼び出し側が独自の HttpClient や SMTP サーバーを作成することなく、Firebase がホストするパスワードリセットリンクの送信を SDK がサポートすれば、作業は完了です。

索引モデルが issue の本文から書いたものです。

説明

api: auth
[REQUIRED] Step 2: Describe your environment
  • Operating System version: not relevant
  • Firebase SDK version: 2.4.0
  • Firebase Product: auth
  • .NET version: not relevant
  • OS: not relevant
[REQUIRED] Step 3: Describe the problem

The SDK is missing a method SendPasswordResetLinkAsync

More precisely, the use case would be to allow ReturnOobLink to be set to false EVEN IF we are authenticated

https://github.com/firebase/firebase-admin-dotnet/blob/master/FirebaseAdmin/FirebaseAdmin/Auth/Users/EmailActionLinkRequest.cs#L62

At the moment, we need to manually instanciate a HttpClient and to send the HTTP request like described at https://firebase.google.com/docs/reference/rest/auth?hl=fr#section-send-password-reset-email

Our exact use case is to create the user with a random password and then to send him a reset password link (but directly from the firebase servers, not from our servers)

If there is a better way (without using my own SMTP server), please share it with me

Steps to reproduce:

not relevant

Relevant Code:
not relevant
主要言語
C#
スター
407
フォーク
147
平均マージ
2日 10時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-admin-dotnet のほかの issue

firebase/firebase-admin-dotnet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。