Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python
ClientRedirectUri wrongly cached and returned
- Dominant language
- Bicep
- Stars
- 129
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
When first logging in with the inspector app, and then trying to login with VScode.
I get the issue that APIM is returning the redirecturi of the inspector app, to the vs code oauth session.
A VS code oauth triggered flow, generates the following redirect uri.

Which points to inspector.
--------------
EDIT: I discovered that the register endpoint is not triggered by vscode consistently. therefor a new value is not being set by the set-cache policy action. Hence if I use inspector first, then it uses that value as its already cached. Inspector always calls the register endpoint.
Contributor guide
Assessment
This issue has not been assessed yet.