question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating an amplify Auth implementation

See original GitHub issue

Which Category is your question related to?

Auth

Amplify CLI Version 3.12

Provide additional details e.g. code snippets

Using the CLI is great to get started, but incredibly difficult (in my opinion) to make changes.

I have a working Signup, Sign-In, Forgotten Password etc… process which also uses a Lambda trigger to add a user to a group… I would like to add an additional “Post Confirmation” trigger, but I can’t seem to do this without impacting existing settings.

When I …

amplify update auth

it is very difficult to walk through the existing settings without making changes… I simply want to add a new “custom” Lambda trigger, but I’m diffing the existing files and seeing multiple changes such as:

`

  • “authSelections”: “identityPoolAndUserPool”,
  • “authSelections”: “userPoolOnly”, `

At this point, I have backed out of the change, reverted all files and regretted starting this project with amplify.

How do I make a simple update like adding a new Lambda PostConfirmation module?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pantarehcommented, Jun 9, 2020

@danhumphrey Yes. I just realized that. thanks! I still don’t understand why this approach is chosen over file editing. With file editing you can diff and track changes. It’s weird that that CLI is now practically becoming a chat UI with all these questions 😃

0reactions
github-actions[bot]commented, May 26, 2021

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 *-help channels for those types of questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authentication - Create or re-use existing backend - JavaScript
In such a case, run amplify auth update command to edit your configuration. To start from scratch, run the following command in your...
Read more >
How to update aws amplify auth in an application?
Update AWS Amplify Auth · Select “Walkthrough all the auth configurations” by moving arrow down from keyboard. · Press enter to select first ......
Read more >
Update Amplify
Review the table and verify the Auth service is being Updated. Accept the default (Yes) and press enter.
Read more >
How to Setup Authentication Fast with AWS Amplify
Here, we import Auth from aws-amplify . It has all the methods we will need to implement the auth flow. Methods such as...
Read more >
AWS Amplify + React Native / Authentication 🔐 FULL SETUP
Amazon Cognito is AWS's fully managed identity service. Cognito provides easy and secure user registration, logon, access control, token updating, and user ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found