-
Notifications
You must be signed in to change notification settings - Fork 1
/
aws-exports.js
29 lines (27 loc) · 1.21 KB
/
aws-exports.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* eslint-disable */
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.
const awsmobile = {
aws_project_region: `${process.env.NEXT_PUBLIC_COGNITO_REHION}`,
aws_cognito_region: `${process.env.NEXT_PUBLIC_COGNITO_REHION}`,
aws_user_pools_id: `${process.env.NEXT_PUBLIC_COGNITO_USER_POOL_ID}`,
aws_user_pools_web_client_id: `${process.env.NEXT_PUBLIC_COGNITO_CLIENT_ID}`,
oauth: {
domain: `${process.env.NEXT_PUBLIC_COGNITO_DOMAIN}`,
scope: ['aws.cognito.signin.user.admin', 'email', 'openid'],
redirectSignIn: `${process.env.NEXT_PUBLIC_COGNITO_URI}`,
redirectSignOut: `${process.env.NEXT_PUBLIC_COGNITO_URI}`,
responseType: 'code',
},
federationTarget: 'COGNITO_USER_POOLS',
aws_cognito_username_attributes: ['EMAIL'],
aws_cognito_social_providers: ['GOOGLE'],
aws_cognito_signup_attributes: ['NICKNAME', 'EMAIL'],
aws_cognito_mfa_configuration: 'OPTIONAL',
aws_cognito_mfa_types: ['TOTP'],
aws_cognito_password_protection_settings: {
passwordPolicyMinLength: 8,
passwordPolicyCharacters: ['REQUIRES_LOWERCASE', 'REQUIRES_UPPERCASE', 'REQUIRES_NUMBERS', 'REQUIRES_SYMBOLS'],
},
aws_cognito_verification_mechanisms: ['EMAIL'],
};
export default awsmobile;