staticwebdev / roles-function

https://docs.microsoft.com/azure/static-web-apps/assign-roles-microsoft-graph
8 stars 11 forks source link

How to get Bearer token in C# function #2

Open myers-gh1328 opened 2 years ago

myers-gh1328 commented 2 years ago

In the js example the accessToken is pulled from req.body.accessToken

In C# the req.Body is a Stream which is empty every time I try to read from it.