Skip to content
Discussion options

You must be logged in to vote

Hi @willwainwright,

We do have examples in our Sample for such cases, for example the GetTablesAsync call in https://github.com/microsoft/Microsoft-Fabric-workload-development-sample/blob/main/Backend/src/Controllers/LakeHouseController.cs
You first use workloadClientAPI to get the accessToken, then sending this to your workload backend (https://github.com/microsoft/Microsoft-Fabric-workload-development-sample/blob/main/Frontend/src/controller/LakehouseExplorerController.ts#L7)
and then by using OBO with the required scopes, you can issue a request to Fabric's REST API, in our Sample those are OneLake APIs.
So in that case the user token gets to workload backend and from there to all APIs…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@willwainwright
Comment options

@anitamayorov
Comment options

Answer selected by anitamayorov
@pavanramineni
Comment options

@anitamayorov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants