How to login and logout? #185
Unanswered
summerisgood1
asked this question in
Q&A
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. |
0 replies
|
So I need to use SDK methods too, then What is the function on api/login and api/logout? |
0 replies
|
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. |
0 replies
|
Anyone got example code on how to achieve this? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I saw the example folder using firebaseui. How about I use custom login component? How to login and logout?
All reactions