feat: password grant

This commit is contained in:
Björn Fromme
2026-07-10 09:02:33 +02:00
parent de37186706
commit f5f84ad98e
3 changed files with 49 additions and 2 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ league_oauth2_server:
encryption_key: '%env(resolve:OAUTH_ENCRYPTION_KEY)%'
enable_client_credentials_grant: true
enable_auth_code_grant: true
enable_refresh_token_grant: false
enable_password_grant: false
enable_refresh_token_grant: true
enable_password_grant: true
access_token_ttl: PT10M
resource_server:
public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'
+4
View File
@@ -261,3 +261,7 @@ services:
$apiBaseUrl: '%env(default::MAILJET_API_BASE_URL)%'
$defaultListId: '%env(default::MAILJET_DEFAULT_LIST_ID)%'
$contactMetadataFields: '%mailjet_contact_metadata_fields%'
App\EventListener\UserResolverListener:
arguments:
$userProvider: '@security.user_providers'