aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.82k stars 820 forks source link

Add AWS_LAMBDA authorization mode support for AppSync #7963

Closed michaelbrewer closed 2 years ago

michaelbrewer commented 3 years ago

Is this related to a new or existing Amplify category?

api

Is this related to another service?

AppSync

Describe the feature you'd like to request

Allow for setting up your lambda authorizer via the Amplify CLI.

Describe the solution you'd like

Amplify CLI should setup Appsync (which does have CFN support for setting up the lambda authorizer)

Describe alternatives you've considered

Manually updating the AppSync authorization manually.

Additional context

No response

Is this something that you'd be interested in working on?

SwaySway commented 3 years ago

Hi @michaelbrewer We are currently planning on including this in the next version of the transformer, can't specify a date yet. Tracking this issue on the next version of the transformer, our team will provide an update on this thread regarding this feature.

RFC: https://github.com/aws-amplify/amplify-cli/issues/6217

MontoyaAndres commented 3 years ago

Any news about this? It's very important for Saas applications...

nimrodp commented 3 years ago

Hey any update on supporting this for Amplify? (https://aws.amazon.com/blogs/mobile/appsync-lambda-auth/)

These are the only option available when trying to update GraphL auth:

"Choose the default authorization type for the API ❯ API key Amazon Cognito User Pool IAM OpenID Connect"

Is there any other way to use lambda authorizer? After settings it manually it is being deleted after each deploy.

mkaya95 commented 3 years ago

I hope it will be solved soon. Best Regards,

renebrandel commented 2 years ago

https://docs.amplify.aws/cli/graphql/authorization-rules/#custom-authorization-rule just launched! @-mention me here if there's anything else to this. Otherwise I'll close the issue for now.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.