forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Auth refactor to use cdk, eliminate EJS, overrides functionality (
aws-amplify#8355) * feat: add auth override * fix: auth state unit tests working * feat: auth e2e fixes and migration e2e included * fix: fixes package name * fix: unit tests fix * fix: unit tests * fix: fixing overwritten files * fix: added vm2 and addressed comments * fix: minor fixes and e2e test for overrides * fix: cli-core unit test * fix: userPool group unit test * fix: minor refractor and comments * chore: lgtm warnings * fix: minor fixes * fix: unit tests
- Loading branch information
Showing
136 changed files
with
8,877 additions
and
2,665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "auth", | ||
"type": "category", | ||
"commands": ["add", "console", "enable", "import", "push", "remove", "update", "help"], | ||
"commands": ["add", "console", "enable", "import", "push", "remove", "update", "help", "override"], | ||
"eventHandlers": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...der-utils/awscloudformation/triggers/CreateAuthChallenge/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 8 additions & 4 deletions
12
...fy-category-auth/provider-utils/awscloudformation/triggers/CustomMessage/assets/style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
@keyframes spinner-line-fade-more { | ||
0%, 100% { | ||
0%, | ||
100% { | ||
opacity: 0; /* minimum opacity */ | ||
} | ||
1% { | ||
opacity: 1; | ||
} | ||
} | ||
@keyframes spinner-line-fade-quick { | ||
0%, 39%, 100% { | ||
0%, | ||
39%, | ||
100% { | ||
opacity: 0.25; /* minimum opacity */ | ||
} | ||
40% { | ||
opacity: 1; | ||
} | ||
} | ||
@keyframes spinner-line-fade-default { | ||
0%, 100% { | ||
0%, | ||
100% { | ||
opacity: 0.22; /* minimum opacity */ | ||
} | ||
1% { | ||
opacity: 1; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
.../provider-utils/awscloudformation/triggers/CustomMessage/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"region": "us-west-2", | ||
"callerContext": { | ||
"region": "us-west-2", | ||
"callerContext": { | ||
"clientId": "dummyId" | ||
}, | ||
"userName": "testUser", | ||
"triggerSource": "CustomMessage_SignUp", | ||
"request": { | ||
}, | ||
"userName": "testUser", | ||
"triggerSource": "CustomMessage_SignUp", | ||
"request": { | ||
"codeParameter": "0000" | ||
}, | ||
"response": {} | ||
} | ||
}, | ||
"response": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...der-utils/awscloudformation/triggers/DefineAuthChallenge/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} |
4 changes: 1 addition & 3 deletions
4
.../provider-utils/awscloudformation/triggers/PostAuthentication/PostAuthentication.map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{ | ||
|
||
} | ||
{} |
8 changes: 4 additions & 4 deletions
8
...ider-utils/awscloudformation/triggers/PostAuthentication/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...ovider-utils/awscloudformation/triggers/PostConfirmation/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"request": { | ||
"userPoolId": "testID", | ||
"userName": "testUser" | ||
}, | ||
"response": {} | ||
} | ||
"request": { | ||
"userPoolId": "testID", | ||
"userName": "testUser" | ||
}, | ||
"response": {} | ||
} |
4 changes: 1 addition & 3 deletions
4
...th/provider-utils/awscloudformation/triggers/PreAuthentication/PreAuthentication.map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{ | ||
|
||
} | ||
{} |
14 changes: 7 additions & 7 deletions
14
...auth/provider-utils/awscloudformation/triggers/PreSignup/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"request": { | ||
"userAttributes": { | ||
"email": "testEmail@domain.com" | ||
} | ||
}, | ||
"response": {} | ||
} | ||
"request": { | ||
"userAttributes": { | ||
"email": "testEmail@domain.com" | ||
} | ||
}, | ||
"response": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...s/awscloudformation/triggers/VerifyAuthChallengeResponse/function-template-dir/event.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} | ||
"key1": "value1", | ||
"key2": "value2", | ||
"key3": "value3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.