Skip to content

Commit

Permalink
fix: update lambda-auth mock event.json with the correct request auth…
Browse files Browse the repository at this point in the history
…orization event payload (#11428)

* Update lambda-auth event with the correct request authorization event payload per https://aws.amazon.com/blogs/mobile/appsync-lambda-auth/

* chore: fix format

---------

Co-authored-by: Kamil Sobol <sobkamil@amazon.com>
  • Loading branch information
kevinold and sobolk committed Jun 16, 2023
1 parent 31f250c commit 9980330
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{
"authorizedToken": "custom-authorized"
"authorizationToken": "ExampleAUTHtoken123123123",
"requestContext": {
"apiId": "aaaaaa123123123example123",
"accountId": "111122223333",
"requestId": "f4081827-1111-4444-5555-5cf4695f339f",
"queryString": "mutation CreateEvent {...}\n\nquery MyQuery {...}\n",
"operationName": "MyQuery",
"variables": {}
}
}

0 comments on commit 9980330

Please sign in to comment.