Tag: amazon-iam
-
Looking for a guide to access AWS Appsync Graphql api from NodeJS app via http request
-1 There is currently, to my knowledge, no one guide that walks through this process so I’d like to find one that can be extended upon and commented on by others who may have extra security "best practices" and the likes to contribute. node.js graphql amazon-iam aws-amplify aws-appsync Share Improve this question Follow edited Aug…
-
Amplify GraphQL V1 to V2 migration Authorization Issues
0 I have successfully followed this tutorial How to allow guest users to access web applications? (Amplify, AWS AppSync, Cognito & IAM) By installing @aws-amplify/[email protected] which uses [email protected] to implement a V1 API in AWS. Note: The tutorial uses v4.37 the latest is v12.6 This is the schema; type Book @model @auth( rules: [ #…
-
GraphQL Authorization Error When Using AWS Lambda Trigger for Post-Confirmation
0 I am encountering an authorization error when trying to execute a GraphQL mutation (createPlayer) in an AWS Lambda function that is triggered after user confirmation. The error message I’m receiving is: **PostConfirmation failed with error GraphQL error: Not Authorized to access createPlayer on type Mutattion ** Lambda Function (Node.js): const appsync = require("aws-appsync"); const…