Skip to content

Commit

Permalink
Hardcoded allowed domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakubanov committed Oct 17, 2024
1 parent bf1e409 commit c6ea53c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<property name="awsAccountId" type="string"/>
<property name="userArn" type="string"/>
<property name="experienceConfiguration" type="QuicksightExperienceConfiguration"/>
<property name="allowedDomains" type="string[]" singular="allowedDomain"/>
</transfer>

<transfer name="QuicksightExperienceConfiguration" strict="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ protected function createQuicksightUserRegisterRequestTransfer(): QuicksightUser
protected function createQuicksightGenerateEmbedUrlRequestTransfer(): QuicksightGenerateEmbedUrlRequestTransfer
{
return (new QuicksightGenerateEmbedUrlRequestTransfer())
->addAllowedDomain('https://backoffice.eu.scos2-suitens.cloud.spryker.toys/')
->setAwsAccountId($this->amazonQuicksightConfig->getAwsAccountId())
->setExperienceConfiguration((new QuicksightExperienceConfigurationTransfer())->setQuickSightConsole(
(new QuicksightConsoleTransfer())->setInitialPath(
Expand Down

0 comments on commit c6ea53c

Please sign in to comment.