aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
507 stars 32 forks source link

Use AWS amplify with AWS APPSync GraphQL API where aws_appsync_authenticationType is OPENID_CONNECT #309

Closed khaleeq-nicoin closed 10 months ago

khaleeq-nicoin commented 1 year ago

Hi,

I have AWS APPSync GraphQL API with lambda resolvers and ws_appsync_authenticationType is OPENID_CONNECT. I want to use AWS amplify with this api. OPENID_CONNECT is the only authentication method which i have to use with amplify and appsync.

I followed the appsync "Integrate with your app" guide npm install -g @aws-amplify/cli amplify init amplify add codegen --apiId ..... amplify codegen

it created an amplify project and added/generated the appsync api queries, mutations etc.

i configured amplify project following "use existing resource" and standard approach.

but i am getting AuthErro: amplify is not configured correctly ... when i send api using aws-amplify API module.

there is no proper documentation where it explains how we can integrate aws amplify with an existing system and solely use OPENID_CONNECT with it.

onlybakam commented 10 months ago

Hi, could you open an issue in the Amplify repo as this is an Amplify configuration issue?