Replies: 4 comments 1 reply
-
This would happen automatically when the auth state changes, assuming you are actually logging in and signing out via Firebase SDK methods. |
Beta Was this translation helpful? Give feedback.
-
So I need to use SDK methods too, then What is the function on api/login and api/logout? |
Beta Was this translation helpful? Give feedback.
-
That's for server side, setting and unsetting the cookies. They are called automatically, when users signs in or signs out, if I'm not wrong. |
Beta Was this translation helpful? Give feedback.
-
Anyone got example code on how to achieve this? |
Beta Was this translation helpful? Give feedback.
-
I saw the example folder using firebaseui. How about I use custom login component? How to login and logout?
Beta Was this translation helpful? Give feedback.
All reactions