Open rdiaz82 opened 1 year ago
Hey @rdiaz82 :wave: thanks for raising this! Marking as a duplicate of https://github.com/aws-amplify/amplify-category-api/issues/1269
To reproduce:
amplify init -y
amplify add api
> GraphQL > use Cognito User Pools as authamplify mock api
@josefaidt @phani-srikar ... any updates on this bug? It has really slowed development to not be able to use the tools to test locally. I am comment bombing because It has been so long and I would really love to get this bug addressed so I can be on an updated amplify version. I am still stuck on 10.6.2 just to be able to get this to work :(
Checking for updates on this issue
@josefaidt @phani-srikar any updates on this?
Any updates about this issue ?
Hi, I am also experiencing this bug on my Apple M2 Mac. For my use case, I was trying to test out the usage of the @auth
directive on a GraphQL schema authenticated with Cognito user pools. When I deploy to AppSync, I see an option to log in with user pools & everything behaves as I expect:
However, when I try amplify mock api
, it seems like I only have one option: "Auth - API Key". The UI does not allow me to update the authentication settings.
Clicking the "Update Auth" button just displays this dialog:
@josefaidt @phani-srikar ... any updates on this bug? It has really slowed development to not be able to use the tools to test locally. I am comment bombing because It has been so long and I would really love to get this bug addressed so I can be on an updated amplify version. I am still stuck on 10.6.2 just to be able to get this to work :(
Hello did you find a solution? I have the same Problem with amplify 12.5.0. And it's really slowing down everything.
Same issue with amplify 12.5.0!!! Any updates on this?
Why is this important bug not fixed??? It's one of the important things, to test locally. Please periodize this.
I created a PR (https://github.com/aws-amplify/amplify-cli/pull/13555) to fix this issue. Can you please support it? We need the Amplify team to review and approve the fix. Thanks!
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.19.0
Amplify CLI Version
any version after 1.6.2
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
nope
Describe the bug
I have installed the latest version of the CLI and when I run the
amplify mock
the local portal doesn't show any graphQL schema and in the top menu only appearsAPI key
there are noUserPool
option.I have tried with previous version and I checked that the latest working version was 10.6.2.
This was also reported for older versions but it was fixed: https://github.com/aws-amplify/amplify-cli/issues/10578
Expected behavior
Get my graphQL schema in the local portal and being able to perform queries/mutation on local portal
Reproduction steps
amplify mock
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm: