Login with chrome extension

Hello,

I am developing one chrome extension which need authentication. I developed application in meteor. I want to know about how can i authenticate user in my chrome extension using meteor. I have research about this thing and i got one solution and its DDP. But using DDP i can call meteor methods which are written at server side. But i can’t write Meteor.loginwithpassword method at server side. I also wants synchronize login with my chrome extension and my meteor Application. For example when i login with my website then automatically will be login in extension and vice-varsa . Please give me solution about this problem

@nxcong getting error in this extension

@dhavalrajani, were you able to find solution for your problem, i also need the same thing.