firebase / firebase-cpp-sdk

Firebase C++ SDK
http://firebase.google.com
Apache License 2.0
272 stars 113 forks source link

FR: Email Link Authentication #40

Open mcungl opened 4 years ago

mcungl commented 4 years ago

I'm trying to use Firebase Authentication to sign in a user by sending them an email containing a link. The feature is supported and documented for Android, iOS and Web, but is nowhere to be found for the C++ SDK.

Is this possible with the C++ SDK?

google-oss-bot commented 4 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

patm1987 commented 4 years ago

Hi @mcungl !

I'm sorry to say that there is no support for email link authentication in the Firebase C++ SDK.

You may want to use password auth if you don't want to depend on another 3rd party library or a service native to each phone's platform (such as Play Games or Apple Sign-In) if you want to avoid forcing users to generate new passwords.

Let me know if you have any followup questions!

--Patrick

mcungl commented 4 years ago

I did use the password auth instead. Thanks for the clarification.

Blistic commented 2 years ago

Hi @patm1987 I think e-mail link auth would be a great feature for this sdk (and the unity sdk). I didn't have it in Unity, so I came to this cpp sdk to see if I could wrap it myself, but it's not here either. To check your thoughts, the only current way to implement e-mail link auth in cpp/unity is to make a custom iOS and Android wrapper? It would be more convenient to do it via a REST API at least, but I could not seem to find an endpoint for that either?