Skip to content

Instantly share code, notes, and snippets.

View MatheusJacob's full-sized avatar

Matheus Jacob Paulin MatheusJacob

View GitHub Profile
<?php
/**
* Created by PhpStorm.
* User: jacob
* Date: 11/7/2014
* Time: 6:42 PM
*/
namespace Zupping\UserBundle\Security\Core\User;
hwi_oauth:
# name of the firewall in which this bundle is active, this setting MUST be set
firewall_name: secured_area
connect:
account_connector: landing_user_provider
resource_owners:
facebook:
type: facebook
client_id:
client_secret:
zupping_landing:
resource: "@ZuppingLandingBundle/Resources/config/routing.yml"
prefix: /
hwi_oauth_login:
resource: "@HWIOAuthBundle/Resources/config/routing/login.xml"
prefix: /login
logout:
path: /logout
security:
encoders:
FOS\UserBundle\Model\UserInterface: sha512
role_hierarchy:
ROLE_ADMIN: ROLE_USER
ROLE_SUPER_ADMIN: ROLE_ADMIN
providers:
fos_userbundle:
id: fos_user.user_provider.username_email
firewalls: