- Install Node.js
- Install packages
cd tools-console
npm install
- Switch these lines around in these files so they match the below
import awsConfig from './aws_config'
//declare var awsConfig: IAwsConfig;- If there is no development enivonrment already setup where you can get the configuration for the template for the configuration is stored in tools-console/aws_config.sh. You can use that template and fill out the values yourself manually
- At the top of tools-console/src/aws_config.tsx put the following
import { IAwsConfig } from './types/awsconfig'- Change the line where the const is specified to the following
export const awsConfig: IAwsConfig = {- At the end of tools-console/src/aws_config.tsx put the following
export default awsConfig- Change the
redirectSignInandredirectSignOutvalues in tools-console/src/aws_config.tsx to the following
"redirectSignIn": "http://localhost:3000/",
"redirectSignOut": "http://localhost:3000/",
- Navigate to the development Cognito User Pool
- Navigate to
App client settings - Add
http://localhost:3000/to both theCallback URL(s)andSign out URL(s)and thenSave changes - Be sure to remove them once done
- Navigate to
- Start the local development server
npm start
| Name | Version |
|---|---|
| terraform | >= 0.12.4 |
| Name | Version |
|---|---|
| aws | n/a |
| Name | Source | Version |
|---|---|---|
| backend | ./modules/backend | n/a |
| frontend | ./modules/frontend | n/a |
| Name | Type |
|---|---|
| aws_kms_alias.this | resource |
| aws_kms_key.this | resource |
| aws_caller_identity.current | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| aws_cli_profile_name | AWS CLI profile to use for credentials if not using the default | string |
n/a | yes |
| initial_admin_email_address | Default email address for initial login to Cognito. Initial login details will be sent here | string |
n/a | yes |
| name | Name of the solution | string |
"ToolsConsole" |
no |
| oidc_base_url | OIDC base URL | string |
n/a | yes |
| oidc_client_id | OIDC base URL | string |
n/a | yes |
| oidc_client_secret | Client secret for the OIDC JWT lambda | string |
n/a | yes |
| oidc_discovery_url | URL for the OIDC discovery metadata | string |
n/a | yes |
| oidc_resource_id | OIDC resource id | string |
n/a | yes |
| recaptcha_v2_site_key | Recaptcha v2 site key | string |
n/a | yes |
| vault_api_url | URL to the vault API | string |
n/a | yes |
No outputs.