You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[Feature idea/request] is possible to mock non m365 API response? #333
The guide said it could simulate error for non m365 API. Does it support to mock response for them?
The scenario is that,
in teams app, we will get auth code in client side and exchange OBO code in backend side before calling graph API.
Usually we will be block on the auth step due to lack of permission or etc.
Is it possible to proxy the AAD auth request to make the simulation flow better?
Thanks.
Activity
waldekmastykarz commentedon Sep 1, 2023
Yes, you can use the proxy to simulate any API. Here's an example for OpenAI API for example: https://adoption.microsoft.com/en-us/sample-solution-gallery/sample/pnp-openai-throttling/. Let us know if it's helpful and if you've got any other questions