You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We must switch the runtime back to IAM/SigV4, which is the default auth method for AgentCore runtimes.
LibreChat’s custom endpoint client does not perform AWS SigV4 signing (it only sends plain HTTP + static headers).
But in our use case we still need to pass the user’s OIDC token to the AgentCore runtime (for downstream tools), and we need LibreChat to sign the request itself using SigV4.
👉 Question
Is there any supported way for LibreChat to:
Sign outgoing requests using AWS SigV4, and
Pass the user’s OIDC token in a header at the same time,
When calling an AgentCore InvokeAgentRuntime endpoint?
Or should we assume we must build an external proxy that performs SigV4 signing on behalf of LibreChat?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
❓ Support for AWS SigV4 + Passing OIDC Token to AgentCore Runtime
Hi,
We are using LibreChat with an AWS Bedrock AgentCore runtime as a
customendpoint:This works today only because our runtime is configured for JWT inbound auth, and LibreChat forwards the OIDC token via:
However, our security team is blocking JWT.
We must switch the runtime back to IAM/SigV4, which is the default auth method for AgentCore runtimes.
LibreChat’s
customendpoint client does not perform AWS SigV4 signing (it only sends plain HTTP + static headers).But in our use case we still need to pass the user’s OIDC token to the AgentCore runtime (for downstream tools), and we need LibreChat to sign the request itself using SigV4.
👉 Question
Is there any supported way for LibreChat to:
InvokeAgentRuntimeendpoint?Or should we assume we must build an external proxy that performs SigV4 signing on behalf of LibreChat?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions