Skip to content

Commit 92f9060

Browse files
fix: rebase from main
1 parent ac8a9de commit 92f9060

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ private function registerOAuthConfiguration(ContainerBuilder $container, array $
427427
$container->setParameter('api_platform.oauth.authorizationUrl', $config['oauth']['authorizationUrl']);
428428
$container->setParameter('api_platform.oauth.refreshUrl', $config['oauth']['refreshUrl']);
429429
$container->setParameter('api_platform.oauth.scopes', $config['oauth']['scopes']);
430+
$container->setParameter('api_platform.oauth.pkce', $config['oauth']['pkce']);
430431

431432
if ($container->hasDefinition('api_platform.swagger.action.ui')) {
432433
$container->getDefinition('api_platform.swagger.action.ui')->setArgument(27, $config['oauth']['pkce']);

src/Symfony/Bundle/Resources/config/legacy/swagger_ui.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<argument>%api_platform.formats%</argument>
1515
<argument>%api_platform.oauth.clientId%</argument>
1616
<argument>%api_platform.oauth.clientSecret%</argument>
17+
<argument>%api_platform.oauth.pkce%</argument>
1718
</service>
1819
</services>
1920
</container>

src/Symfony/Bundle/Resources/config/v3/swagger_ui.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<argument>%api_platform.formats%</argument>
1616
<argument>%api_platform.oauth.clientId%</argument>
1717
<argument>%api_platform.oauth.clientSecret%</argument>
18+
<argument>%api_platform.oauth.pkce%</argument>
1819
</service>
1920
</services>
2021
</container>

0 commit comments

Comments
 (0)