villebro opened a new issue, #45492:
URL: https://github.com/apache/superset/issues/45492

   ### Bug description
   
   The MCP server tells clients to create an API key at 
`MCP_API_KEY_CREATE_URL`, which defaults to `"/profile/"` 
(`superset/mcp_service/mcp_config.py`, with a fallback in 
`superset/mcp_service/auth.py`). In 7.0 that path is a 404. API keys are 
managed on the user info page, `/user_info/` (`superset/views/user_info.py`).
   
   **How to reproduce**
   
   1. On a 7.0.0rc2 instance with the MCP service enabled, call it with a 
missing or invalid API key.
   2. The 401 response points to `/profile/`.
   3. Opening that link gives a 404.
   
   **Expected behavior**
   
   The link in the 401 response opens the page where API keys are created, 
`/user_info/`.
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   Not applicable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to