-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (20 loc) · 1.04 KB
/
.env.example
File metadata and controls
24 lines (20 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -----------------------------------------------------------------------
# AWS Cognito configuration for the demo app
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# .env is loaded by scripts/set-env.js before every `npm start` and
# `npm run build:demo`. Never commit .env to version control.
# -----------------------------------------------------------------------
# User Pool ID — found in the AWS Cognito console under "User Pools"
# Format: <region>_<alphanumeric> e.g. eu-central-1_AbCdEfGhI
COGNITO_USER_POOL_ID=us-east-1_XXXXXXXXX
# App Client ID — found under "App integration > App clients"
# Must be a public client (no client secret)
COGNITO_CLIENT_ID=YOUR_CLIENT_ID
# Hosted UI domain — found under "App integration > Domain"
# Format: <your-prefix>.auth.<region>.amazoncognito.com
COGNITO_DOMAIN=your-domain.auth.us-east-1.amazoncognito.com
# Redirect URI registered in the Cognito App Client
# Must exactly match one of the "Allowed callback URLs"
COGNITO_REDIRECT_URI=http://localhost:4200/callback