File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ modules:
7777 keep-existing-routes : true
7878 properties :
7979 TENANT_HOST_PATTERN : ^(.*)-${default-uri} # testing only, use custom domain with wildcard for production
80+ CHECK_X_FORWARDED_HOST_IN_LOGIN_CALLBACK : true
8081 requires :
8182 - name : srv-api
8283 group : destinations
@@ -90,7 +91,7 @@ modules:
9091 - name : app-api
9192 properties :
9293 app-url : ' ${default-url}'
93- app-domain : ' ${domain }'
94+ app-uri : ' ${default-uri }'
9495# --------------------- RESOURCES ---------------------
9596resources :
9697# -----------------------------------------------------
@@ -104,7 +105,7 @@ resources:
104105 xsappname : bookshop-mt-${org}-${space}
105106 oauth2-configuration :
106107 redirect-uris :
107- - https://*. ~{app-api/app-domain }/**
108+ - https://*- ~{app-api/app-uri }/** # be as explicit as possible, but keep the wildcard for the tenant subdomain
108109 requires :
109110 - name : app-api
110111 - name : bookshop-mt-service-manager
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ modules:
5858 parameters :
5959 memory : 256M
6060 disk-quota : 512M
61+ properties :
62+ CHECK_X_FORWARDED_HOST_IN_LOGIN_CALLBACK : true
6163 requires :
6264 - name : srv-api
6365 group : destinations
You can’t perform that action at this time.
0 commit comments