We have a Node.js application whose web page is exposed as a canvas app on Salesforce. This shows the web page on Salesforce and allows users to make visual changes to it (one of our requirements).
We have created a connected app for this purpose and configured the client id and secret in the Node application. It all works fine so far. The trouble comes in when we now need another page also to be shown in Salesforce. We have created a second canvas app with a different canvas app url and oauth. We're now confused which OAuth credentials should be used while connecting from the Node application because from Node perspective, a single instance of Node is contacting a single instance of Salesforce only.