stopped at access token
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"projectName": "SafeQRFrontEndMobile",
|
||||
"projectName": "safeqr",
|
||||
"version": "3.1",
|
||||
"frontend": "javascript",
|
||||
"javascript": {
|
||||
|
||||
24
amplify/backend/auth/safeqr/parameters.json
Normal file
24
amplify/backend/auth/safeqr/parameters.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"authSelections": "identityPoolAndUserPool",
|
||||
"resourceName": "safeqr",
|
||||
"serviceType": "imported",
|
||||
"region": "ap-southeast-1",
|
||||
"usernameAttributes": [
|
||||
"email"
|
||||
],
|
||||
"authProvidersUserPool": [
|
||||
"Google"
|
||||
],
|
||||
"requiredAttributes": [
|
||||
"email"
|
||||
],
|
||||
"passwordPolicyMinLength": 6,
|
||||
"passwordPolicyCharacters": [],
|
||||
"mfaConfiguration": "OPTIONAL",
|
||||
"autoVerifiedAttributes": [
|
||||
"email"
|
||||
],
|
||||
"mfaTypes": [
|
||||
"TOTP"
|
||||
]
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
{
|
||||
"version": "1",
|
||||
"cognitoConfig": {
|
||||
"identityPoolName": "safeqrfrontendmobile2d879dc9_identitypool_2d879dc9",
|
||||
"allowUnauthenticatedIdentities": false,
|
||||
"resourceNameTruncated": "safeqr2d879dc9",
|
||||
"userPoolName": "safeqrfrontendmobile2d879dc9_userpool_2d879dc9",
|
||||
"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"
|
||||
],
|
||||
"aliasAttributes": [],
|
||||
"userpoolClientGenerateSecret": false,
|
||||
"userpoolClientRefreshTokenValidity": 30,
|
||||
"userpoolClientWriteAttributes": [
|
||||
"email"
|
||||
],
|
||||
"userpoolClientReadAttributes": [
|
||||
"email"
|
||||
],
|
||||
"userpoolClientLambdaRole": "safeqr2d879dc9_userpoolclient_lambda_role",
|
||||
"userpoolClientSetAttributes": false,
|
||||
"sharedId": "2d879dc9",
|
||||
"resourceName": "safeqrfrontendmobile2d879dc9",
|
||||
"authSelections": "identityPoolAndUserPool",
|
||||
"useDefault": "defaultSocial",
|
||||
"hostedUI": true,
|
||||
"usernameAttributes": [
|
||||
"email"
|
||||
],
|
||||
"hostedUIDomainName": "safeqrfrontendmobile2d879dc9-2d879dc9",
|
||||
"authProvidersUserPool": [],
|
||||
"hostedUIProviderMeta": "[]",
|
||||
"userPoolGroupList": [],
|
||||
"serviceName": "Cognito",
|
||||
"usernameCaseSensitive": false,
|
||||
"useEnabledMfas": true,
|
||||
"authRoleArn": {
|
||||
"Fn::GetAtt": [
|
||||
"AuthRole",
|
||||
"Arn"
|
||||
]
|
||||
},
|
||||
"unauthRoleArn": {
|
||||
"Fn::GetAtt": [
|
||||
"UnauthRole",
|
||||
"Arn"
|
||||
]
|
||||
},
|
||||
"breakCircularDependency": true,
|
||||
"dependsOn": [],
|
||||
"oAuthMetadata": "{\"AllowedOAuthFlows\":[\"code\"],\"AllowedOAuthScopes\":[\"phone\",\"email\",\"openid\",\"profile\",\"aws.cognito.signin.user.admin\"],\"CallbackURLs\":[\"com.safeqr.safeqr://\"],\"LogoutURLs\":[\"com.safeqr.safeqr://\"]}"
|
||||
}
|
||||
}
|
||||
@@ -1,30 +1,109 @@
|
||||
{
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {
|
||||
"safeqr": {
|
||||
"customAuth": false,
|
||||
"dependsOn": [],
|
||||
"frontendAuthConfig": {
|
||||
"mfaConfiguration": "OFF",
|
||||
"mfaTypes": [
|
||||
"SMS"
|
||||
],
|
||||
"passwordProtectionSettings": {
|
||||
"passwordPolicyCharacters": [],
|
||||
"passwordPolicyMinLength": 8
|
||||
},
|
||||
"signupAttributes": [
|
||||
"EMAIL"
|
||||
],
|
||||
"socialProviders": [],
|
||||
"usernameAttributes": [
|
||||
"EMAIL"
|
||||
],
|
||||
"verificationMechanisms": [
|
||||
"EMAIL"
|
||||
]
|
||||
},
|
||||
"providerPlugin": "awscloudformation",
|
||||
"service": "Cognito"
|
||||
"service": "Cognito",
|
||||
"serviceType": "imported"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"AMPLIFY_auth_safeqr_allowUnauthenticatedIdentities": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_authRoleArn": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_authRoleName": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_googleClientId": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_identityPoolId": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_identityPoolName": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_nativeClientId": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_unauthRoleArn": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_unauthRoleName": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_userPoolId": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_userPoolName": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AMPLIFY_auth_safeqr_webClientId": {
|
||||
"usedBy": [
|
||||
{
|
||||
"category": "auth",
|
||||
"resourceName": "safeqr"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1 @@
|
||||
export type AmplifyDependentResourcesAttributes = {
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {
|
||||
"AppClientID": "string",
|
||||
"AppClientIDWeb": "string",
|
||||
"HostedUIDomain": "string",
|
||||
"IdentityPoolId": "string",
|
||||
"IdentityPoolName": "string",
|
||||
"OAuthMetadata": "string",
|
||||
"UserPoolArn": "string",
|
||||
"UserPoolId": "string",
|
||||
"UserPoolName": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
export type AmplifyDependentResourcesAttributes = {}
|
||||
120
amplify/cli.json
120
amplify/cli.json
@@ -1,64 +1,64 @@
|
||||
{
|
||||
"features": {
|
||||
"graphqltransformer": {
|
||||
"addmissingownerfields": true,
|
||||
"improvepluralization": false,
|
||||
"validatetypenamereservedwords": true,
|
||||
"useexperimentalpipelinedtransformer": true,
|
||||
"enableiterativegsiupdates": true,
|
||||
"secondarykeyasgsi": true,
|
||||
"skipoverridemutationinputtypes": true,
|
||||
"transformerversion": 2,
|
||||
"suppressschemamigrationprompt": true,
|
||||
"securityenhancementnotification": false,
|
||||
"showfieldauthnotification": false,
|
||||
"usesubusernamefordefaultidentityclaim": true,
|
||||
"usefieldnameforprimarykeyconnectionfield": false,
|
||||
"enableautoindexquerynames": true,
|
||||
"respectprimarykeyattributesonconnectionfield": true,
|
||||
"shoulddeepmergedirectiveconfigdefaults": false,
|
||||
"populateownerfieldforstaticgroupauth": true,
|
||||
"subscriptionsinheritprimaryauth": false
|
||||
"features": {
|
||||
"graphqltransformer": {
|
||||
"addmissingownerfields": true,
|
||||
"improvepluralization": false,
|
||||
"validatetypenamereservedwords": true,
|
||||
"useexperimentalpipelinedtransformer": true,
|
||||
"enableiterativegsiupdates": true,
|
||||
"secondarykeyasgsi": true,
|
||||
"skipoverridemutationinputtypes": true,
|
||||
"transformerversion": 2,
|
||||
"suppressschemamigrationprompt": true,
|
||||
"securityenhancementnotification": false,
|
||||
"showfieldauthnotification": false,
|
||||
"usesubusernamefordefaultidentityclaim": true,
|
||||
"usefieldnameforprimarykeyconnectionfield": false,
|
||||
"enableautoindexquerynames": true,
|
||||
"respectprimarykeyattributesonconnectionfield": true,
|
||||
"shoulddeepmergedirectiveconfigdefaults": false,
|
||||
"populateownerfieldforstaticgroupauth": true,
|
||||
"subscriptionsinheritprimaryauth": false
|
||||
},
|
||||
"frontend-ios": {
|
||||
"enablexcodeintegration": true
|
||||
},
|
||||
"auth": {
|
||||
"enablecaseinsensitivity": true,
|
||||
"useinclusiveterminology": true,
|
||||
"breakcirculardependency": true,
|
||||
"forcealiasattributes": false,
|
||||
"useenabledmfas": true
|
||||
},
|
||||
"codegen": {
|
||||
"useappsyncmodelgenplugin": true,
|
||||
"usedocsgeneratorplugin": true,
|
||||
"usetypesgeneratorplugin": true,
|
||||
"cleangeneratedmodelsdirectory": true,
|
||||
"retaincasestyle": true,
|
||||
"addtimestampfields": true,
|
||||
"handlelistnullabilitytransparently": true,
|
||||
"emitauthprovider": true,
|
||||
"generateindexrules": true,
|
||||
"enabledartnullsafety": true,
|
||||
"generatemodelsforlazyloadandcustomselectionset": false
|
||||
},
|
||||
"appsync": {
|
||||
"generategraphqlpermissions": true
|
||||
},
|
||||
"latestregionsupport": {
|
||||
"pinpoint": 1,
|
||||
"translate": 1,
|
||||
"transcribe": 1,
|
||||
"rekognition": 1,
|
||||
"textract": 1,
|
||||
"comprehend": 1
|
||||
},
|
||||
"project": {
|
||||
"overrides": true
|
||||
}
|
||||
},
|
||||
"frontend-ios": {
|
||||
"enablexcodeintegration": true
|
||||
},
|
||||
"auth": {
|
||||
"enablecaseinsensitivity": true,
|
||||
"useinclusiveterminology": true,
|
||||
"breakcirculardependency": true,
|
||||
"forcealiasattributes": false,
|
||||
"useenabledmfas": true
|
||||
},
|
||||
"codegen": {
|
||||
"useappsyncmodelgenplugin": true,
|
||||
"usedocsgeneratorplugin": true,
|
||||
"usetypesgeneratorplugin": true,
|
||||
"cleangeneratedmodelsdirectory": true,
|
||||
"retaincasestyle": true,
|
||||
"addtimestampfields": true,
|
||||
"handlelistnullabilitytransparently": true,
|
||||
"emitauthprovider": true,
|
||||
"generateindexrules": true,
|
||||
"enabledartnullsafety": true,
|
||||
"generatemodelsforlazyloadandcustomselectionset": false
|
||||
},
|
||||
"appsync": {
|
||||
"generategraphqlpermissions": true
|
||||
},
|
||||
"latestregionsupport": {
|
||||
"pinpoint": 1,
|
||||
"translate": 1,
|
||||
"transcribe": 1,
|
||||
"rekognition": 1,
|
||||
"textract": 1,
|
||||
"comprehend": 1
|
||||
},
|
||||
"project": {
|
||||
"overrides": true
|
||||
"debug": {
|
||||
"shareProjectConfig": false
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"shareProjectConfig": false
|
||||
}
|
||||
}
|
||||
@@ -1,19 +1,32 @@
|
||||
{
|
||||
"dev": {
|
||||
"awscloudformation": {
|
||||
"AuthRoleName": "amplify-safeqrfrontendmobile-dev-d47dd-authRole",
|
||||
"UnauthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqrfrontendmobile-dev-d47dd-unauthRole",
|
||||
"AuthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqrfrontendmobile-dev-d47dd-authRole",
|
||||
"AuthRoleName": "amplify-safeqr-dev-45853-authRole",
|
||||
"UnauthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqr-dev-45853-unauthRole",
|
||||
"AuthRoleArn": "arn:aws:iam::058264269465:role/amplify-safeqr-dev-45853-authRole",
|
||||
"Region": "ap-southeast-1",
|
||||
"DeploymentBucketName": "amplify-safeqrfrontendmobile-dev-d47dd-deployment",
|
||||
"UnauthRoleName": "amplify-safeqrfrontendmobile-dev-d47dd-unauthRole",
|
||||
"StackName": "amplify-safeqrfrontendmobile-dev-d47dd",
|
||||
"StackId": "arn:aws:cloudformation:ap-southeast-1:058264269465:stack/amplify-safeqrfrontendmobile-dev-d47dd/6b855b50-3c40-11ef-b0cb-0aac1b92eadd",
|
||||
"AmplifyAppId": "d2d2iszqi4kpe5"
|
||||
"DeploymentBucketName": "amplify-safeqr-dev-45853-deployment",
|
||||
"UnauthRoleName": "amplify-safeqr-dev-45853-unauthRole",
|
||||
"StackName": "amplify-safeqr-dev-45853",
|
||||
"StackId": "arn:aws:cloudformation:ap-southeast-1:058264269465:stack/amplify-safeqr-dev-45853/df03aa80-48b3-11ef-8210-0285266ba73b",
|
||||
"AmplifyAppId": "d3c5p62zte3j"
|
||||
},
|
||||
"categories": {
|
||||
"auth": {
|
||||
"safeqrfrontendmobile2d879dc9": {}
|
||||
"safeqr": {
|
||||
"userPoolId": "ap-southeast-1_zkxA0NZYN",
|
||||
"userPoolName": "safeqr",
|
||||
"webClientId": "6jfhnjr067t2cgamvst1uquj73",
|
||||
"nativeClientId": "6jfhnjr067t2cgamvst1uquj73",
|
||||
"identityPoolId": "ap-southeast-1:10ca3025-9e28-4f14-a07e-93f4f69e4473",
|
||||
"identityPoolName": "safeqr-identity-pool",
|
||||
"allowUnauthenticatedIdentities": true,
|
||||
"authRoleArn": "arn:aws:iam::058264269465:role/service-role/amplify-iam-role",
|
||||
"authRoleName": "amplify-iam-role",
|
||||
"unauthRoleArn": "arn:aws:iam::058264269465:role/service-role/amplify-iam-guest",
|
||||
"unauthRoleName": "amplify-iam-guest",
|
||||
"googleClientId": "937053967427-1gcm0u1pp1mabrueeka475kt2st7o932.apps.googleusercontent.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user