We should be able to set the CORS config for the control plane API. I am running into an issue when running the serverless ref arch and accessing the API (on a different domain) via the UI hosted on cloudfront.
Description of changes
Added (optional) parameters that can be passed into the control plane to set the cors config for the control plane API.
Update Cognito UserPool domain name prefix so that it includes username.
Issue # (if applicable)
Closes #.
Reason for this change
We should be able to set the CORS config for the control plane API. I am running into an issue when running the serverless ref arch and accessing the API (on a different domain) via the UI hosted on cloudfront.
Description of changes
Description of how you validated changes
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.