tiledesk-server
tiledesk-server copied to clipboard
User register
Hello. Thanks for developing this app. ;)
I have question. We have method signup in UserService. Shouldn't this metod create user in firebase(https://firebase.google.com/docs/auth/web/password-auth#create_a_password-based_account) to use properly chat21 support panel(https://github.com/chat21/chat21-ionic)? If i'm right, I can prepare branch with this feature or i don't understand something.
Thanks in advance.
it's firebaseauth route that create the firebase custom auth. See here: https://github.com/Tiledesk/tiledesk-server/blob/master/routes/firebaseauth.js When the agent signin into the dashboard "firebaseauth/signin" method is used. After that when the agent goes to the chat (chat21-ionic) he is automatically authenticated (using localStorage within the same domain ).