Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Malformed v2 event json on "proxy integrations for HTTP APIs" page #100

Closed
cpilsworth opened this issue Sep 25, 2020 · 1 comment
Closed

Comments

@cpilsworth
Copy link

Hi,
I was looking at the Working with AWS Lambda proxy integrations for HTTP APIs page on the api gateway developer guide and I noticed that the v2 requestContext -> authentication -> issuerDN attribute is missing a closing quote making the event text invalid json. The quote just needs closing after "Example issuer":

"authentication": {
      "clientCert": {
        "clientCertPem": "CERT_CONTENT",
        "subjectDN": "www.example.com",
        "issuerDN": "Example issuer",
}

Tried to raise a PR on the project to fix as it is a small issue, but the "Edit this page on Github" link points to a file that does not contain the recent clientCert changes. Seems like the site and repo are not in sync.

@cpilsworth cpilsworth changed the title Malformed event json on clientCert -> issuerDN Malformed v2 event json on "proxy integrations for HTTP APIs" page Sep 25, 2020
@mcdwil
Copy link
Contributor

mcdwil commented Sep 25, 2020

Hi,

Thanks for getting in touch and pointing out the error. I've added that udpate to this repo, and added the missing closing quote. The update will be published for Working with AWS Lambda proxy integrations for HTTP APIs soon.

Thanks,
Will

@mcdwil mcdwil closed this as completed Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants