Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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.

share|improve this question
1  
@John my head hurt trying to understand that question. Both grammar and logic were atrocious. I ended up spending an hour just to edit that question till it made sense. What I discovered in the end was that it was about authentication, not SSO. Don't do that to me again. If you want to punish me, just tell me to do fifty push ups instead :-) – RHT 16 hours ago
1  
@RHT, just so it's clear to me: you want not so much to authenticate in the Node app against the user data in the Bugzilla MySQL DB, but you actually want a logged in Bugzilla user to be recognised as authenticated on the Node app as well? (this sort of implies to me that the Node app needs access to the Bugzilla login cookie and use it for its own verification). – ravi 6 hours ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.