diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index fd2e3a1..68a6a47 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -31,3 +31,17 @@ monolog: console: type: console channels: [!event, !doctrine] + +# Facebook OAuth +hwi_oauth: + firewall_names: [secured_area] + resource_owners: + facebook: + type: facebook + client_id: 320599508311862 + client_secret: 18d4f48cdd274bccee2678e5eff3f557 + scope: "public_profile,email" + options: + display: popup + auth_type: rerequest + csrf: true diff --git a/app/config/config_prod.yml b/app/config/config_prod.yml index 715c95a..2f9b61f 100644 --- a/app/config/config_prod.yml +++ b/app/config/config_prod.yml @@ -22,3 +22,17 @@ monolog: level: debug console: type: console + +# Facebook OAuth +hwi_oauth: + firewall_names: [secured_area] + resource_owners: + facebook: + type: facebook + client_id: 320597498312063 + client_secret: c751bec8a3c5313ff2e5a83769bf1109 + scope: "public_profile,email" + options: + display: popup + auth_type: rerequest + csrf: true diff --git a/src/Jotunheimr/UserBundle/Resources/config/config.yml b/src/Jotunheimr/UserBundle/Resources/config/config.yml index 911edb5..8a76787 100644 --- a/src/Jotunheimr/UserBundle/Resources/config/config.yml +++ b/src/Jotunheimr/UserBundle/Resources/config/config.yml @@ -7,16 +7,3 @@ twig: project_name: 'MineSeeker' project_shortname: 'Mine' project_monogram: 'MS' - -hwi_oauth: - firewall_names: [secured_area] - resource_owners: - facebook: - type: facebook - client_id: 320599508311862 - client_secret: 18d4f48cdd274bccee2678e5eff3f557 - scope: "public_profile,email" - options: - display: popup - auth_type: rerequest - csrf: true