feat: oauth2 login via myep
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -230,3 +230,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)%'
|
||||
|
||||
Reference in New Issue
Block a user