feat: enable client credentials grant for machine-to-machine api clients

This commit is contained in:
fromme committed 2026-09-29 14:46:13 +02:00
1 parent d0e7ba017c
commit 33c31d088c
2 files changed
+1 -6

No files matched your search

-5
View File
@@ -386,8 +386,3 @@ services:
whitelisted_ips: '%env(csv:MAINTENANCE_MODE_IP_WHITELIST)%'
whitelisted_routes: '%env(csv:MAINTENANCE_MODE_ROUTE_WHITELIST)%'
whitelisted_paths: '%env(csv:MAINTENANCE_MODE_PATH_WHITELIST)%'
league.oauth2_server.grant.client_credentials:
class: League\OAuth2\Server\Grant\ClientCredentialsGrant
tags:
- { name: league.oauth2_server.authorization_server.grant, accessTokenTTL: 'PT1H' }