File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 @$(DC ) exec app sh
5454
5555db-fixtures :
56- $(DC ) exec app $(BIN ) sylius:fixtures:load default --no-interaction
56+ $(DC ) exec app $(BIN ) sylius:fixtures:load default --no-interaction
57+
58+ db-database :
59+ $(DC ) exec app $(BIN ) d:d:c
60+ $(DC ) exec app $(BIN ) d:s:u -f
61+ $(DC ) exec app $(BIN ) sylius:fixtures:load default --no-interaction
Original file line number Diff line number Diff line change @@ -23,13 +23,16 @@ public function __construct(
2323 private readonly string $ idpSlourl ,
2424 #[Autowire(env: 'SAML_IDP_CERTIFICATE ' )]
2525 private readonly string $ idpCert ,
26- ) {
26+ #[Autowire(param: 'sylius_admin.path_name ' )]
27+ private readonly string $ syliusAdminPathName ,
28+ )
29+ {
2730 }
2831
2932 /**
33+ * @return array<string, mixed>
3034 * @throws Error
3135 *
32- * @return array<string, mixed>
3336 */
3437 public function getConfig (): array
3538 {
@@ -47,10 +50,10 @@ public function getConfig(): array
4750 'sp ' => [
4851 'entityId ' => $ schemeAndHost ,
4952 'assertionConsumerService ' => [
50- 'url ' => $ schemeAndHost . '/admin /login/saml/acs ' ,
53+ 'url ' => $ schemeAndHost . '/ ' . $ this -> syliusAdminPathName . ' /login/saml/acs ' ,
5154 ],
5255 'singleLogoutService ' => [
53- 'url ' => $ schemeAndHost . '/admin /login/saml/logout ' ,
56+ 'url ' => $ schemeAndHost . '/ ' . $ this -> syliusAdminPathName . ' /login/saml/logout ' ,
5457 ],
5558 'privateKey ' => $ this ->spPrivateKey ,
5659 ],
You can’t perform that action at this time.
0 commit comments