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 update auth
command should show the existing settings
#1259
Comments
@mrcoles What questions are you seeing as a part of the |
@kaustavghosh06 I detailed my experience below. For "What do you want to do?", I selected, "Walkthrough all the auth configurations" (It seemed like the other approaches might auto-overwrite things I had already chosen).
One concept that would work well for me is if I could skip steps and only do steps that mattered to me, because in this case I only wanted to do the "Do you want to use an OAuth flow?" step. In this specific case I got caught up in that step anyways and just bailed. It seems safer to leave my existing working setups than risk messing them up? Hopefully this info helps! |
@mrcoles Thanks a ton for sending over this. This would greatly help us in making the update flow better. |
amplify update
commands should show the existing settingsamplify update auth
command should show the existing settings
10 on your list is a great catch, I rarely find myself running auth update but it is a pain to make sure the updated password policy matches the existing policy. |
any update on this? I still not see user friendly version of existing settings when using command |
Below does not add any value: % amplify auth update You have configured resources that might depend on this Cognito resource. Updating this Cognito resource could have unintended side effects. Using service: Cognito, provided by: awscloudformation Amazon Cognito identity pools provide temporary AWS credentials for users who are guests (unauthenticated) and for users who have been authenticated and received a token. An identity pool is a store If you choose to use the default configuration, this utility will set up both a Userpool and an Identity Pool. Select the authentication/authorization services that you want to use: (Use arrow keys) |
cc @renebrandel for visibility |
any update on this? it's been 3 years... what needs to happen? |
@mrcoles write-up is fantastic, covers the pains I'm facing now I'd like to trigger a lambda function after Cognito Confirmation; this is a simple change but the auth update flow is complicated and doesn't clearly show me what my existing settings are. I also decided to ctrl-c out of the flow because I'm afraid to make breaking changes |
@renschler @mrcoles @kaustavghosh06 ...I'm sitting with this exact issue. I work on a number of apps using Amplify and can't remember, for the life of me, what the settings were or how they relate to the config files. I would like to update one setting at a time (Add a new Lambda Trigger) however, I am scared I make breaking changes in the other settings using the config all-or-nothing logic flow this approach uses. I have resorted to making an individual lambda function and then linking it every time in the console. This is a messy approach and shouldn't be necessary. This CLI should give a simple "skip this" option |
And updates? I am stuck with the exact issue as well, just want to add another Cognito lambda trigger. |
Any updates on this? It is a common use case to revise auth settings as the project develops, based on my own experience and the comments above. I actually brick'ed a previous project by pushing a change after running "amplify update auth" (local worked but the remote build started failing after I push'ed), so I'm a bit hesitant to use the command in general. I ended up having to start with a clean install to fix that problem. Thanks for the support. |
I have found a temporarily work around for this. All the options chosen is in cli-inputs.json. Once I made the changes on the desired config through Note: the amplify cli version that we used is 12.0.3. And, I am using this for iOS application. |
Any updates ? |
Updates? |
Is your feature request related to a problem? Please describe.
If I run
amplify update auth
it provides a complicated series of questions to answer. It’s hard to remember what values were chosen the first time around.Describe the solution you'd like
It would be really helpful if it showed me the existing value for each one during each step.
Describe alternatives you've considered
Trying to read through my cloudformation files?
Additional context
This came up because I wanted to update my project to include hosted UI info as specified here: #844 (comment)
The text was updated successfully, but these errors were encountered: