feat: oauth2 login via myep

This commit is contained in:
Björn Fromme committed 2026-03-15 12:43:28 +01:00
1 parent 98c900e8ca
commit b618475a8c
12 files changed
+384 -2

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ security:
lazy: true
provider: bpn_user_provider
custom_authenticators:
- App\Security\MyEpAuthenticator
- App\Security\BpnAuthenticator
user_checker: App\Security\UserChecker
switch_user:
+10
View File
@@ -194,3 +194,13 @@ services:
$defaults:
from: '%default_email_from%'
to: '%default_email_to%'
App\Security\OAuth2\MyEpClient:
arguments:
$options:
myep_oauth2_client_id: '%env(MYEP_OAUTH2_CLIENT_ID)%'
myep_oauth2_client_secret: '%env(MYEP_OAUTH2_CLIENT_SECRET)%'
myep_oauth2_url_authorize: '%env(MYEP_OAUTH2_URL_AUTHORIZE)%'
myep_oauth2_url_access_token: '%env(MYEP_OAUTH2_URL_ACCESS_TOKEN)%'
myep_oauth2_url_resource_owner_details: '%env(MYEP_OAUTH2_URL_RESOURCE_OWNER_DETAILS)%'
myep_oauth2_scopes: '%env(csv:MYEP_OAUTH2_SCOPES)%'