Bugzilla runs behind the Apache webserver (mod_perl2) and stores the users in MySQL database. Node.js is it's own webserver. How do I single sign on the user in the Node.js app using the user data which present in Bugzilla's MySQL database?
Update: As Ravi has mentioned in comments below, I am not looking for a solution to authenticate users. I am looking for a solution that allows users that have already been authenticated in Bugzilla to be able to login to a Node.js app without being re-prompted for an authentication. In other words, I am looking for a Single Sign On.