When I am trying to do "amplify push" This error message shows in my ide console.
× An error occurred when pushing the resources to the cloud @auth directive with 'userPools' provider found, but the project has no Cognito User Pools authentication provider configured.
Can someone help me with this matter.
You need to run:
amplify update api
? Please select from one of the below mentioned services: GraphQL
? Select from the options below Walkthrough all configurations
? Choose the default authorization type for the API Amazon Cognito User Pool
Use a Cognito user pool configured as a part of this project.
? Do you want to configure advanced settings for the GraphQL API No, I am done.
Then run:
amplify push