Skip to content

Commit

Permalink
Fix Auth Error
Browse files Browse the repository at this point in the history
  • Loading branch information
tanshuai committed Jul 21, 2021
1 parent fab1c39 commit 5b7ce21
Show file tree
Hide file tree
Showing 6 changed files with 580 additions and 126 deletions.
30 changes: 15 additions & 15 deletions samples/vue/auth/authenticator/amplify/.config/project-config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"projectName": "publicvueauthcomp",
"version": "3.0",
"frontend": "javascript",
"javascript": {
"framework": "vue",
"config": {
"SourceDir": "src",
"DistributionDir": "dist",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script serve"
}
},
"providers": [
"awscloudformation"
]
"projectName": "publicvueauthcomp",
"version": "3.1",
"frontend": "javascript",
"javascript": {
"framework": "vue",
"config": {
"SourceDir": "src",
"DistributionDir": "dist",
"BuildCommand": "npm run-script build",
"StartCommand": "npm run-script serve"
}
},
"providers": [
"awscloudformation"
]
}
8 changes: 8 additions & 0 deletions samples/vue/auth/authenticator/amplify/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Getting Started with Amplify CLI
This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli).

Helpful resources:
- Amplify documentation: https://docs.amplify.aws
- Amplify CLI documentation: https://docs.amplify.aws/cli
- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files
- Join Amplify's community: https://amplify.aws/community/
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"identityPoolName": "publicvueauthcomp6994b8e7_identitypool_6994b8e7",
"allowUnauthenticatedIdentities": false,
"resourceNameTruncated": "public6994b8e7",
"userPoolName": "publicvueauthcomp6994b8e7_userpool_6994b8e7",
"autoVerifiedAttributes": [
Expand Down Expand Up @@ -31,7 +29,7 @@
"userpoolClientLambdaRole": "public6994b8e7_userpoolclient_lambda_role",
"userpoolClientSetAttributes": false,
"resourceName": "publicvueauthcomp6994b8e7",
"authSelections": "identityPoolAndUserPool",
"authSelections": "userPoolOnly",
"authRoleArn": {
"Fn::GetAtt": [
"AuthRole",
Expand All @@ -44,7 +42,22 @@
"Arn"
]
},
"useDefault": "default",
"useDefault": "manual",
"userPoolGroupList": [],
"dependsOn": []
"dependsOn": [],
"userPoolGroups": false,
"adminQueries": false,
"triggers": "{}",
"hostedUI": true,
"hostedUIDomainName": "publicvueauthcomp3b7b54b6-3b7b54b6",
"authProvidersUserPool": [],
"hostedUIProviderMeta": "[]",
"oAuthMetadata": "{\"AllowedOAuthFlows\":[\"code\"],\"AllowedOAuthScopes\":[\"phone\",\"email\",\"openid\",\"profile\",\"aws.cognito.signin.user.admin\"],\"CallbackURLs\":[\"https://alpha.biz/login/\"],\"LogoutURLs\":[\"https://alpha.biz/logout/\"]}",
"serviceName": "Cognito",
"parentStack": {
"Ref": "AWS::StackId"
},
"breakCircularDependency": false,
"permissions": [],
"authProviders": []
}
Loading

0 comments on commit 5b7ce21

Please sign in to comment.