-
Notifications
You must be signed in to change notification settings - Fork 31
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
can't login to amplify when adding api from cli in vscode #543
Comments
Same issue on MacOs with Chrome |
Hello @anirishrnbsinger and @endriv, sorry for this experience. We’re working on making the login experience better and reducing this confusion. The username and password that you’re prompted for is applicable if you have set up users in the Access Control Settings in Amplify Studio. Based on the situation you described my assumption is that you are logging into Studio via the Amplify console as an admin, which is a valid scenario, so an update we’re making to the Studio login flow is to allow users to login with their AWS account if they choose. We are also working on making the CLI login work for Safari browsers. I will provide an update once these changes are available. Please let me know if you have any further questions. |
Hi folks - we just launched the new Amplify CLI version 9.1.0 to address this workflow! Check out all the details here: #84 (comment) |
@renebrandel At one point the amplify CLI would always give the user the option to use a local AWS profile for authentication/permissions (see https://www.youtube.com/watch?v=2mqiZ7yqfLc). This is the preferred option for most users who are accustomed to interacting with AWS via CLI commands, so why was it removed and is there any way to re-enable this feature? The Amplify Studio user pool interface remains buggy and unreliable. Ex.
|
Additionally...
... performing the second recommendation leads to a vicious circle. |
Hey @tech-team-rural-mda, the login error occurs if the Amplify Studio created user pool resource in your account has been modified or deleted. To mitigate the issue, we can disable and re-enable studio in the AWS Amplify console, under App settings -> Amplify Studio settings, and then re-run the pull command. Do check if there are any reminiscent folders behind from the previous pull before running the |
I have pasted the 'amplify pull --appId myappid --envName myenvname' into the terminal on vscode and it opens a browser window. on safari it says that I cant login, even though I have tabs open and logged in. then it says copy into chrome etc, which I have done,. It then gives me this login page but ive tried all of the many many credentials that aws uses yet I dont know which username and password they are referring to. ive tried password recovery but recieved nothing in my emails. im assuming im missing something [obvious?](url)
The text was updated successfully, but these errors were encountered: