2 groups with names bo.adm and tn.adm for backoffice administrators and tenant administrators respectively
2 or 3 users with 1 user assigned to bo.adm group and 1 or 2 users assigned tn.adm group
1 resource server with name dalmarkit that has 3 scopes with scope names bo.adm, tn.adm and cmty.usr for backoffice administrators, tenant administrators and community users respectively
3 app clients
public backoffice client with dalmarkit/bo.adm scope
public tenant client with dalmarkit/tn.adm scope
confidential server-to-server client with dalmarkit/bo.adm scope
Create bucket in S3 to store uploaded images
Create CloudFront distribution with above S3 bucket as origin
Create the following Systems Manager Parameter Store encrypted parameters:
/DalmarkitSample/Api/Development/AwsCognitoAuthenticationOptions/UserPoolId - Cognito user pool ID
/DalmarkitSample/Api/Development/AwsCognitoAuthenticationOptions/ValidClientIds - space delimited list of client IDs allowed to access the web API (e.g. public backoffice client ID, public tenant client ID and confidential server-to-server client ID)
/DalmarkitSample/Api/Development/AwsCognitoAuthorizationOptions/BackofficeAdminClientIds - confidential server to server client ID
/DalmarkitSample/Api/Development/EntityOptions/ImageS3BucketName - name of S3 bucket that will store uploaded images
/DalmarkitSample/Api/Development/EntityOptions/ImageCloudFrontDistributionId - ID of CloudFront distribution used to deliver images stored in S3 bucket
Setup PostgreSQL database by running SQL scripts inside Migration folder in order