What is the Angular/Fire best practice for using Auth? #3224
Unanswered
ronaldohoch
asked this question in
Q&A
Replies: 1 comment
-
I cant even login using this implementation I got |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
I'm developing a website and i decided to use firebase to learn. But the documentation of @angular/fire/auth seems not complete or out of date. So, i have 2 implementations of the same code.
Version 1
signupService.ts
Version 2
Both versions are using AngularFireAuth because i couldn't send email using only Auth. 🤔
The Auth code to send email:
Brings this error.
I can use both versions, but i can't unsubscribe when transforming Promise into Observable:
![image](https://cdn.statically.io/img/user-images.githubusercontent.com/2287371/169670849-4a0dc7ed-1d19-455e-96c7-47e8c2e80a95.png)
So, what should i use and how to unsubscribe it?
Beta Was this translation helpful? Give feedback.
All reactions