1 Answer
- Newest
- Most votes
- Most comments
0
Short answer: As of now, Amazon Bedrock AgentCore does not natively support inbound authentication using Microsoft Entra Agent ID (OIDC/JWT). This is why you are seeing a JWT signature mismatch during validation.
Why this happens Bedrock AgentCore currently expects inbound requests to use AWS-native authentication mechanisms, such as:
- IAM-based authentication
- SigV4–signed requests Microsoft Entra Agent ID issues OIDC JWTs signed by Microsoft identity keys. Since AgentCore does not expose a configurable OIDC trust relationship (issuer, JWKS, audience), the JWT signature cannot be validated, resulting in the mismatch error.
Recommended approach If Entra Agent ID must be used today, the recommended pattern is an authentication translation layer:
- Entra Agent ID authenticates the caller and issues the JWT
- A backend service (Lambda / API Gateway / application):
- Validates the Entra JWT using Microsoft JWKS
- Maps the identity to an AWS IAM role
- The backend invokes Bedrock AgentCore using IAM / SigV4
Examples At the moment, there are no official AWS examples for direct Entra Agent ID → AgentCore inbound authentication. For production workloads, use IAM or SigV4 until native OIDC support is announced.
answered 10 months ago
Relevant content
asked 9 months ago
asked 9 months ago
asked a year ago
- AWS OFFICIALUpdated 5 months ago
