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
Amplify CLI adds Admin Queries API with wrong auth type #6983
Comments
@kneekey23 what file is shown above? I don't recognize the format. |
@edwardfoyle this is from the amplifyconfiguration.json on iOS:
|
Updated the frontend config files to have the correct authorization type for AdminQueries fix aws-amplify#6983
) fixes #6983: Updated the frontend config files to have the correct authorization type for AdminQueries
👋 Hi, this issue was referenced in the v4.50.2 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v4.50.2. |
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 |
Before opening, please confirm:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v13.7.0
Amplify CLI Version
4.45.2
What operating system are you using?
Mac
Amplify Categories
auth, api
Amplify Commands
add, pull
Describe the bug
When I add the admin queries API it adds it wiht the wrong auth type, as you can see below it adds it with
AWS_IAM
and notAMAZON_COGNITO_USER_POOLS
like it should beExpected behavior
I expect the cli to add the admin queries api with the cognito user pool auth.
Reproduction steps
amplify update auth
walk through steps to add admin queries api give cli the group name "Admins"
GraphQL schema(s)
# Put schemas below this line
Log output
The text was updated successfully, but these errors were encountered: