downcase quick fix
This commit is contained in:
@@ -160,7 +160,7 @@ async def oauth2_callback(request: Request) -> HTMLResponse:
|
|||||||
async def start_google_auth(
|
async def start_google_auth(
|
||||||
service_name: str,
|
service_name: str,
|
||||||
user_google_email: str = USER_GOOGLE_EMAIL,
|
user_google_email: str = USER_GOOGLE_EMAIL,
|
||||||
mcp_session_id: Optional[str] = Header(None, alias="Mcp-Session-Id")
|
mcp_session_id: Optional[str] = Header(None, alias="mcp-session-id")
|
||||||
) -> str:
|
) -> str:
|
||||||
"""
|
"""
|
||||||
Initiates the Google OAuth 2.0 authentication flow for the specified user email and service.
|
Initiates the Google OAuth 2.0 authentication flow for the specified user email and service.
|
||||||
@@ -182,7 +182,7 @@ async def start_google_auth(
|
|||||||
Args:
|
Args:
|
||||||
user_google_email (str): The user's full Google email address (e.g., 'example@gmail.com'). This is REQUIRED.
|
user_google_email (str): The user's full Google email address (e.g., 'example@gmail.com'). This is REQUIRED.
|
||||||
service_name (str): The name of the Google service for which authentication is being requested (e.g., "Google Calendar", "Google Docs"). This is REQUIRED.
|
service_name (str): The name of the Google service for which authentication is being requested (e.g., "Google Calendar", "Google Docs"). This is REQUIRED.
|
||||||
mcp_session_id (Optional[str]): The active MCP session ID (automatically injected by FastMCP from the Mcp-Session-Id header). Links the OAuth flow state to the session.
|
mcp_session_id (Optional[str]): The active MCP session ID (automatically injected by FastMCP from the mcp-session-id header). Links the OAuth flow state to the session.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
str: A detailed message for the LLM with the authorization URL and instructions to guide the user through the authentication process.
|
str: A detailed message for the LLM with the authorization URL and instructions to guide the user through the authentication process.
|
||||||
|
|||||||
Reference in New Issue
Block a user