Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending a password reset mail #373

Open
glb-cblin opened this issue Dec 26, 2023 · 0 comments
Open

Sending a password reset mail #373

glb-cblin opened this issue Dec 26, 2023 · 0 comments

Comments

@glb-cblin
Copy link

[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants