These are chat archives for zyzo/meteor-ddp-php

3rd
Apr 2016
DANG HAI AN
@zyzo
Apr 03 2016 10:35
@dsdharam91 what is the architecture ? This library enables communication between a php "front-end" and a meteor backend. If you want to logininto meteor from browser frontend (so javascript environment), directly use Meteor accounts api instead http://docs.meteor.com/#/full/accounts_api.
Dharampal Singh
@dsdharam91
Apr 03 2016 11:47
So you want to say i have to use meteor on client side with my laravel project
Dharampal Singh
@dsdharam91
Apr 03 2016 11:52
Let me explain i want to implement rocket chat due to its webRtC support. I have noy found any other solution to use this inside my website. So i decided pull rocket chat using iframe because it runs on different port . now the problem is when user register with my website then user should be register with rocket also and when user login with website then he should be login with rocket chat also otherwise he have to login or register manually.so iam finding a way to call register or login function to register or login from the website
DANG HAI AN
@zyzo
Apr 03 2016 14:27
I see. Pull in meteor is not a solution, since meteor is full-stack. As far as I know, there's no way to pull in just meteor client. The only solution I see so far is to use this library to call custom login authentication, & hack rocket.chat authen layer to support it. These node libraries might be helpful https://github.com/oortcloud/node-ddp-client https://github.com/vsivsi/ddp-login
Dharampal Singh
@dsdharam91
Apr 03 2016 15:24
Thanks @zyzo i will check this then get back to you. Thanks for the help