-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Inspector Version
- v0.17.5
Describe the bug
In the Request Authorization and acquire authorization code of inspector, when redirect to Asgardeo, Asgardeo throws
Something Went Wrong!
Cannot find an application associated with the given consumer key.
and the console of inspector:
Access to fetch at 'https://api.asgardeo.io/.well-known/oauth-authorization-server/t/openmcpauthdemo/oauth2/token' from origin 'http://localhost:6274' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
api.asgardeo.io/.well-known/oauth-authorization-server/t/openmcpauthdemo/oauth2/token:1 Failed to load resource: net::ERR_FAILED
:6274/?MCP_PROXY_AUTH_TOKEN=c9493c17e9fbc33fc01099a5d5c7e3eb856e68063eb215e77156cd6d9c6f4d17:1 Access to fetch at 'https://api.asgardeo.io/.well-known/oauth-authorization-server/t/openmcpauthdemo/oauth2/token' from origin 'http://localhost:6274' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api.asgardeo.io/.well-known/oauth-authorization-server/t/openmcpauthdemo/oauth2/token:1 Failed to load resource: net::ERR_FAILED
:6274/?MCP_PROXY_AUTH_TOKEN=c9493c17e9fbc33fc01099a5d5c7e3eb856e68063eb215e77156cd6d9c6f4d17:1 Access to fetch at 'https://api.asgardeo.io/.well-known/openid-configuration/t/openmcpauthdemo/oauth2/token' from origin 'http://localhost:6274' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
api.asgardeo.io/.well-known/openid-configuration/t/openmcpauthdemo/oauth2/token:1 Failed to load resource: net::ERR_FAILED
:6274/?MCP_PROXY_AUTH_TOKEN=c9493c17e9fbc33fc01099a5d5c7e3eb856e68063eb215e77156cd6d9c6f4d17:1 Access to fetch at 'https://api.asgardeo.io/.well-known/openid-configuration/t/openmcpauthdemo/oauth2/token' from origin 'http://localhost:6274' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api.asgardeo.io/.well-known/openid-configuration/t/openmcpauthdemo/oauth2/token:1 Failed to load resource: net::ERR_FAILED
is there any bug in inspector?
To Reproduce
Steps to reproduce the behavior:
I use these:
npx @modelcontextprotocol/inspector@latestin github.com/wso2/open-mcp-auth-proxy
python3 echo_server.py
./build/linux/openmcpauthproxy --demo
Expected behavior
the error in console disapper
Environment (please complete the following information):
- ubuntu, wsl
- chrome
Version Consideration
Inspector V2 is under development to address architectural and UX improvements. During this time, V1 contributions should focus on bug fixes and MCP spec compliance. See CONTRIBUTING.md for more details.
Metadata
Metadata
Assignees
Labels
No labels