0

I'm stuck with Firebase Autentication.

I understand how to connect my single page app to FireAuth. But then, I'm lost.

I don't know how to automatically inform my rest api that a new user is create.

Because if a new user select the login page and click on Google login provider, there is no rule to inform the user he must sign-up first.

3
  • If the new account was created, the user is also signed in. In the callback, you can use the getCurrentUser method to get the user's account data. Commented Jan 25, 2019 at 15:15
  • It was obvious ! Thank you. Commented Jan 25, 2019 at 15:33
  • Good. I have created an answer, please feel free to accept to resolve the question Commented Jan 25, 2019 at 15:35

1 Answer 1

1

If the new account was created, the user is also signed in. In the callback, you can use the getCurrentUser method to get the user's account data.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.