aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
449 stars 113 forks source link

the Backend points to a different env #3219

Closed CLu1s closed 1 year ago

CLu1s commented 1 year ago

Before opening, please confirm:

App Id

dcg64l50n907n

AWS Region

us-east-1

Amplify Hosting feature

Backend builds

Question

How do I change or confirm where my backend API and authentication are pointing?

Recently I migrated to next12 amplify config, and amplify realized an automated build of my main branch, but when I tried to log in, it says that my pool client does not exist but is showing an old deleted pool client id, I checked that my backend environment was pointing to the correct API and auth AWS apps, and it is, but when I visit my site, it still shows that my credentials are not valid because my pool client does not exist. I need to figure out how to revert or change to which environment my frontend points. image

ghost commented 1 year ago

Hi @CLu1s 👋🏽 thanks for raising this issue. If your old user pool that has your credentials still exists, you can import that user pool via the Amplify CLI. Please follow our documentation for how to import that user pool:

github-actions[bot] commented 1 year ago

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.