-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update cognito realworld app to allow for cy.origin() (#1292)
* feat: update cognito realworld app to allow for cy.origin() with federated cognito * chore: remove unecessary amplify files
- Loading branch information
1 parent
a221bdb
commit 70fb782
Showing
15 changed files
with
252 additions
and
468 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,4 @@ REACT_APP_BACKEND_PORT=3001 | |
# Additional config taken from aws-exports.js | ||
#AWS_COGNITO_USERNAME="[email protected]" | ||
#AWS_COGNITO_PASSWORD="s3cret1234$" | ||
#AWS_COGNITO_DOMAIN="https://YOUR_COGNITO_INSTANCE.auth.us-east-1.amazoncognito.com" |
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 |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
|
||
data | ||
build | ||
coverage | ||
coverage | ||
amplify/* | ||
aws-exports* |
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,17 +1,17 @@ | ||
{ | ||
"projectName": "cypressrealworldapp", | ||
"version": "3.0", | ||
"frontend": "javascript", | ||
"javascript": { | ||
"framework": "react", | ||
"config": { | ||
"SourceDir": "src", | ||
"DistributionDir": "build", | ||
"BuildCommand": "npm run-script build", | ||
"StartCommand": "yarn dev:cognito" | ||
} | ||
}, | ||
"providers": [ | ||
"awscloudformation" | ||
] | ||
"projectName": "cypressrealworldapp", | ||
"version": "3.1", | ||
"frontend": "javascript", | ||
"javascript": { | ||
"framework": "react", | ||
"config": { | ||
"SourceDir": "src", | ||
"DistributionDir": "build", | ||
"BuildCommand": "npm run-script build", | ||
"StartCommand": "yarn dev:cognito" | ||
} | ||
}, | ||
"providers": [ | ||
"awscloudformation" | ||
] | ||
} |
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.