llama-stack-mirror/docs/docs/building_applications
Omar Abdelwahab fe91d331ef
fix: Remove authorization from provider data (#4161)
# What does this PR do?
- Remove backward compatibility for authorization in mcp_headers
- Enforce authorization must use dedicated parameter  
- Add validation error if Authorization found in provider_data headers
- Update test_mcp.py to use authorization parameter
- Update test_mcp_json_schema.py to use authorization parameter
- Update test_tools_with_schemas.py to use authorization parameter
- Update documentation to show the change in the authorization approach

Breaking Change:
- Authorization can no longer be passed via mcp_headers in provider_data
- Users must use the dedicated 'authorization' parameter instead
- Clear error message guides users to the new approach"

## Test Plan
CI

---------

Co-authored-by: Omar Abdelwahab <omara@fb.com>
Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
2025-11-17 12:16:35 -08:00
..
agent.mdx docs: concepts and building_applications migration (#3534) 2025-09-24 14:05:30 -07:00
agent_execution_loop.mdx docs: concepts and building_applications migration (#3534) 2025-09-24 14:05:30 -07:00
evals.mdx docs: fix broken links (#3540) 2025-09-24 14:16:31 -07:00
index.mdx chore(ui): remove the Streamlit UI (#4097) 2025-11-06 15:51:57 -08:00
playground.mdx chore: Fix docs so can be deployed (#4149) 2025-11-13 09:15:32 -08:00
rag.mdx chore: Updating how default embedding model is set in stack (#3818) 2025-10-20 14:22:45 -07:00
responses_vs_agents.mdx docs: fix broken links (#3540) 2025-09-24 14:16:31 -07:00
safety.mdx chore: update docs for telemetry api removal (#3900) 2025-10-24 13:57:28 -07:00
telemetry.mdx chore!: BREAKING CHANGE: remove sqlite from telemetry config (#3808) 2025-10-15 14:24:45 -07:00
tools.mdx fix: Remove authorization from provider data (#4161) 2025-11-17 12:16:35 -08:00