What is the best way to pass authentication state of the user to the node.js if user has already authenticated in php?
For example - there is an application written in php which needs to use node.js for real-time updates. But those updates should be restricted to logged in users.
What is the best way to do it? Is there a way to access php session data from node.js?