civicoop / drupal-login-bundle
Bundle to login into symfony with your drupal username and password. requires on the drupal side the service 3.x module
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/civicoop/drupal-login-bundle
Requires
- php: >=5.3.0
- ext-curl: *
This package is auto-updated.
Last update: 2025-12-17 21:41:27 UTC
README
Symfony bundle to login with your Drupal username and password. Requires the Service 3.x module within Drupal
This bundle works together with the form_login secuirty configuration of Symfony
Configuration
After you have installed the bundle update your AppKernel with
$bundles = array(
...
new CiviCoop\DrupalLoginBundle\CiviCoopDrupalLoginBundle(),
)
Set the drupal url in app/config/config.yml
civicoop:
drupal:
login:
url: http://mydrupalsite.org/rest/user/login
Secure your site by adding the drupal key to app/config/security.yml
security:
...
providers:
...
drupal:
id: drupal.security.authentication.userprovider
firewalls:
secured_area:
pattern: ^/secured
form_login:
check_path: acme_demo_login_check
login_path: acme_demo_login
always_use_default_target_path: true
default_target_path: /
logout:
path: acme_demo_logout
target: /
drupal: ~
Requirements on Drupal
This module requires the Drupal Services 3.x module installed and enabled. Also the user login path and JSON/rest should be configured on that module.