Skip to content
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 auth update break the config file of "Email Verification Link with Redirect" option #6397

Closed
yaquawa opened this issue Jan 15, 2021 · 3 comments · Fixed by #6403
Closed
Assignees
Labels
auth Issues tied to the auth category of the CLI bug Something isn't working

Comments

@yaquawa
Copy link

yaquawa commented Jan 15, 2021

Describe the bug
The command amplify auth update break the config file of "Email Verification Link with Redirect" option.

Amplify CLI Version
4.41.2

To Reproduce

1

amplify add auth # make sure you have selected the "Email Verification Link with Redirect" option
amplify push

2

check the following files

  • amplify/backend/function/xxxCustomMessage/function-parameters.json
  • amplify/backend/function/xxxCustomMessage/parameters.json
amplify auth update # make sure you have changed some parameters of "Email Verification Link with Redirect" option

3

check the following files again to see the changes

  • amplify/backend/function/xxxCustomMessage/function-parameters.json (triggerEnvs key is not an array anymore)
  • amplify/backend/function/xxxCustomMessage/parameters.json (resourceName key is removed)

related issue #5720

@attilah attilah added auth Issues tied to the auth category of the CLI pending-triage Issue is pending triage labels Jan 15, 2021
@attilah attilah self-assigned this Jan 16, 2021
@attilah attilah added bug Something isn't working and removed pending-triage Issue is pending triage labels Jan 16, 2021
@attilah
Copy link
Contributor

attilah commented Jan 16, 2021

@yaquawa thanks for the detailed repro, I was able to find the issue, push was not needed, just add auth and update auth to reproduce it in the end.

@yaquawa
Copy link
Author

yaquawa commented Jan 17, 2021

@attilah Thanks for fixing this issue!

I have a question, can you tell me what is the following file for?
amplify/backend/function/xxx/parameters.json
Is this the parameters for the cloudformation template?
I can't find any information for this file.
Thanks.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auth Issues tied to the auth category of the CLI bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants