Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@auth error #4

Open
sankhadeeproy007 opened this issue Jul 18, 2020 · 1 comment
Open

@auth error #4

sankhadeeproy007 opened this issue Jul 18, 2020 · 1 comment

Comments

@sankhadeeproy007
Copy link

I tried creating the ecommerce schema, but I get this error
@auth directive with 'apiKey' provider found, but the project has no API Key authentication provider configured.

I set up cognito auth for my application.

When I try API-key auth, I get the following error
@auth directive with 'userPools' provider found, but the project has no Cognito User Pools authentication provider configured.
What am I missing here?

@fatai2
Copy link

fatai2 commented Jul 19, 2020

Hi @sankhadeeproy007, After selecting API-key auth, when you get to the "Do you want to configure advanced settings for the GraphQL API?" select "Yes, I want to make some additional changes."
It will give you the option of adding Cognito User Pools as an additional auth method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants