vbridgecloud / c-all-app-login-bundle
Symfony Bundle to connect C-all applications
Installs: 427
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/vbridgecloud/c-all-app-login-bundle
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.4
- lcobucci/jwt: ^4.1
- symfony/config: ^5.4|^6.0
- symfony/dependency-injection: ^5.4|^6.0
- symfony/http-foundation: ^5.4|^6.0
- symfony/routing: ^5.4|^6.0
- symfony/security-core: ^5.4|^6.0
- symfony/security-http: ^5.4|^6.0
This package is auto-updated.
Last update: 2026-01-25 15:34:26 UTC
README
Use this bundle to authenticate a user in a Symfony application through C-all's login app.
Installation
Require the bundle with composer
composer require vbridgecloud/c-all-app-login-bundle
Add it to your Symfony app bundles.php
# config/bundles.php <?php return [ // ... vBridgeCloud\CallLoginBundle\CallLoginBundle::class => ['all' => true], ];
Configure it
# config/packages/vbridgecloud_calllogin.yaml call_login: public_url: '%env(LOGIN_PUBLIC_URL)%' # The public URL the login app is available through internal_url: '%env(LOGIN_INTERNAL_URL)%' # Internal DNS url for the login app client_id: '%env(LOGIN_CLIENT_ID)%' # Client ID to be used to authenticate client_secret: '%env(LOGIN_CLIENT_SECRET)%' # Client secret
Configure your security:
# config/packages/security.yaml security: providers: user_provider: id: call_login.user_provider firewalls: # ... main: custom_authenticators: - call_login.authenticator entry_point: call_login.entrypoint # ... access_control: - { path: ^/login/authorize, roles: IS_AUTHENTICATED_ANONYMOUSLY }
Whatever authorize endpoint you end up using (see below), it must be
Authorization endpoint
This bundle needs an endpoint to be redirected back to, either use the provided controller and route :
# config/routes.yaml call_login: resource: '@CallLoginBundle/Resources/config/routing.yaml'
Or add your own route in a controller somewhere and configure it:
# config/packages/vbridgecloud_calllogin.yaml call_login: oauth_redirect_path: 'my_authorize_route'
Optional configuration
By default, after login, your app will be redirected to the home route. Make sure you either have a named route home or override it through configuration with the login_redirect_path config option.