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

Add start of ui authentication to app #10

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ e2e/*.map
.history

# End of https://www.gitignore.io/api/angular,visualstudiocode

server/.vscode/settings.json

UI/pet-pal/.vscode/settings.json
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
16 changes: 16 additions & 0 deletions UI/pet-pal/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ testem.log
# System Files
.DS_Store
Thumbs.db

#amplify
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/mock-data
amplify/backend/amplify-meta.json
amplify/backend/awscloudformation
build/
dist/
node_modules/
aws-exports.js
awsconfiguration.json
amplifyconfiguration.json
amplify-build-config.json
amplify-gradle-config.json
amplifytools.xcconfig
21 changes: 20 additions & 1 deletion UI/pet-pal/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
{
"editor.wordWrap": "on",
"editor.wordWrapColumn": 120
"editor.wordWrapColumn": 120,
"workbench.colorCustomizations": {
"activityBar.background": "#491c45",
"titleBar.activeBackground": "#240e22",
"titleBar.activeForeground": "#e7e7e7",
"activityBar.activeBackground": "#491c45",
"activityBar.activeBorder": "#6d732c",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#6d732c",
"activityBarBadge.foreground": "#e7e7e7",
"statusBar.background": "#240e22",
"statusBar.border": "#240e22",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#491c45",
"titleBar.border": "#240e22",
"titleBar.inactiveBackground": "#240e2299",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#240e22"
}
17 changes: 17 additions & 0 deletions UI/pet-pal/amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"projectName": "petpal",
"version": "3.0",
"frontend": "javascript",
"javascript": {
"framework": "angular",
"config": {
"SourceDir": "src",
"DistributionDir": "dist",
"BuildCommand": "npm.cmd run-script build",
"StartCommand": "ng serve"
}
},
"providers": [
"awscloudformation"
]
}
51 changes: 51 additions & 0 deletions UI/pet-pal/amplify/backend/auth/petpalb4fa62f1/parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"identityPoolName": "petpalb4fa62f1_identitypool_b4fa62f1",
"allowUnauthenticatedIdentities": false,
"resourceNameTruncated": "petpalb4fa62f1",
"userPoolName": "petpalb4fa62f1_userpool_b4fa62f1",
"autoVerifiedAttributes": [
"email"
],
"mfaConfiguration": "OFF",
"mfaTypes": [
"SMS Text Message"
],
"smsAuthenticationMessage": "Your authentication code is {####}",
"smsVerificationMessage": "Your verification code is {####}",
"emailVerificationSubject": "Your verification code",
"emailVerificationMessage": "Your verification code is {####}",
"defaultPasswordPolicy": false,
"passwordPolicyMinLength": 8,
"passwordPolicyCharacters": [],
"requiredAttributes": [
"email"
],
"userpoolClientGenerateSecret": true,
"userpoolClientRefreshTokenValidity": 30,
"userpoolClientWriteAttributes": [
"email"
],
"userpoolClientReadAttributes": [
"email"
],
"userpoolClientLambdaRole": "petpalb4fa62f1_userpoolclient_lambda_role",
"userpoolClientSetAttributes": false,
"sharedId": "b4fa62f1",
"resourceName": "petpalb4fa62f1",
"authSelections": "identityPoolAndUserPool",
"authRoleArn": {
"Fn::GetAtt": [
"AuthRole",
"Arn"
]
},
"unauthRoleArn": {
"Fn::GetAtt": [
"UnauthRole",
"Arn"
]
},
"useDefault": "default",
"userPoolGroupList": [],
"dependsOn": []
}
Loading