mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
style(mcp): format authorize_with_server redirect
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9673b1e6a
commit
31a16e9ab7
1 changed files with 3 additions and 1 deletions
|
|
@ -973,7 +973,9 @@ async def authorize_with_server(
|
|||
if upstream_resource:
|
||||
params["resource"] = upstream_resource
|
||||
|
||||
response: Final = RedirectResponse(build_upstream_authorize_url(resolved_server.effective_authorization_url, params))
|
||||
response: Final = RedirectResponse(
|
||||
build_upstream_authorize_url(resolved_server.effective_authorization_url, params)
|
||||
)
|
||||
_set_oauth_state_cookie(response, request, relay_state, encoded_state)
|
||||
return response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue