Rendering pages based on server side API calls

soo, in short am using an external service that I want to embed in my page as an iframe after authenticating through the server,

how can I compute the URL server side and then pass it to the page to be loaded in the iframe ? (this requires the usage of some node.js libraries and database requests on the server side)
Was this page helpful?