symfony - HWIOAuthBundle : Redirecting to localhost after login -


i've installed hwioauthbundle , after login success redirect localhost. ( i've configured apache work on localhost ). instead of http://localhost/web/app_dev.php/ after login, go http://localhost

edited :

here config.yml

hwi_oauth: http_client:     verify_peer: false connect:     account_connector: my_user_provider # name of firewall in bundle active, setting must set firewall_name: main fosub:     username_iterations: 30     properties:         # these properties used/redefined later in custom fosubuserprovider service.         facebook: facebook_id         google: google_id         linkedin: linkedin_id resource_owners:     facebook:         type:                facebook         client_id:           *******         client_secret:       ******         scope:               "email"         paths:             email:          email         options:             display: popup     google:         type:                google         client_id:           *******         client_secret:       *******         scope:               "email" 

security.yml

 firewalls:     dev:         pattern:  ^/(_(profiler|wdt)|css|images|js)/         security: false      main:         pattern:        ^/         anonymous:      ~         provider:       main         logout: true         form_login:             login_path: fos_user_security_login             check_path: fos_user_security_check             default_target_path: /localhost         remember_me:             key:        %secret%         oauth:             resource_owners:                 facebook:           "/login/check-facebook"                 google:             "/login/check-google"             login_path:        /login             failure_path:      /login             default_target_path: my_app_homepage             oauth_user_provider:                 service: my_user_provider 

how can redirect localhost using default_target_path ?

problem sovled using default_target_path: http://localhost/ posting solution help


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -