aws-amplify / aws-amplify/amplify-cli

Signin and Signout redirect URIs are stored in committed source code and don't change with amplify env checkout calls

Open
#1,376 6 comments 9 reactions 0 assignees View on GitHub
auth feature-request multienv p3 strategic
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

**Describe the bug**
Cognito signin and signout URIs are hard coded in backend auth cognito config. This causes merge conflicts when trying to merge branches with different environments and thus different values configured for the URIs.

**To Reproduce**
- create amplify project, new environment
- add auth, configure redirect URIs
- create a new environment
- configure different redirect URIs
- observe that redirect URIs are not stored as environment specific variables in team-provider-info.json but rather hard coded in amplify/backend/auth/cognito/parameters.json

**Expected behavior**
Values are stored as env specific vars in team-provider-info.json

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.