serverless-appsync-plugin icon indicating copy to clipboard operation
serverless-appsync-plugin copied to clipboard

Public endpoint

Open marcelinhov2 opened this issue 1 year ago • 1 comments

Hello, I wanted to have some Queries that don't need any authentication. Is it possible?

Thanks.

marcelinhov2 avatar Apr 10 '23 19:04 marcelinhov2

There is always an authorization mode required as part of app sync, regardless of if it is deployed with this serverless plugin. Some potential options for you:

  • Create a lambda authorizer that will always return authorized. This means it will accept any authorization header. Not sure if the authorization header will even need to be included in this case.
  • Use API Key authorization behind a gateway/proxy service that automatically includes the key in the request

mleziva avatar Jun 13 '23 17:06 mleziva