We're currently exploring an application wherein we have an API that accepts a username from Salesforce and we are attempting to run an sfdx command as that user on an external server (a node app). Is something like this possible? For example, is it possible to authorize our "app" in a salesforce org and then allow any user in the org to run sfdx commands as themselves on our external server?
Thanks (sorry if vague)