Skip to content

Commit

Permalink
Remap service name for cognito pools #64
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Apr 29, 2023
1 parent 9412d19 commit a3ed8e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iamlivecore/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ func handleAWSRequest(req *http.Request, body []byte, respCode int) {
if service == "ElasticLoadBalancing" || service == "ElasticLoadBalancingv2" {
service = "ELB"
}
if service == "CognitoIdentityProvider" {
service = "CognitoIdentityServiceProvider"
}

if serviceDef.Metadata.Protocol == "json" {
// JSON schema
Expand Down

0 comments on commit a3ed8e9

Please sign in to comment.