Call API from another API as user

I have two APIs and one winforms client.

  1. LicensingAPI
  2. FunctionsAPI

To validate the software license, the client will talk directly to the LicensingAPI.

However, there are cases where FunctionsAPI also needs to call into the licensing API on behalf of the user to ensure they have a license for what they’re trying to do. How can the FunctionAPI call into the LicensingAPI on behalf of the original user?

Thank you!

Bump. I still need help with this as I’ve run into this again.

I have an app provisioning api that requires authentication… that provisioning api sets up an environment, but at various points I need to call into my licensing api as the same user that authenticated.

What are you supposed to do with scenarios like this?