From 6b1f43bb913e9f7e853dd05874d970bfe6bb7f3e Mon Sep 17 00:00:00 2001 From: andreybolonin Date: Sat, 23 Jun 2018 10:11:13 +0300 Subject: [PATCH] add facebook as default --- hwi/oauth-bundle/0.6/config/packages/hwi_oauth.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hwi/oauth-bundle/0.6/config/packages/hwi_oauth.yaml b/hwi/oauth-bundle/0.6/config/packages/hwi_oauth.yaml index 79847580..76823f79 100644 --- a/hwi/oauth-bundle/0.6/config/packages/hwi_oauth.yaml +++ b/hwi/oauth-bundle/0.6/config/packages/hwi_oauth.yaml @@ -4,9 +4,11 @@ hwi_oauth: # https://github.com/hwi/HWIOAuthBundle/blob/master/Resources/doc/2-configuring_resource_owners.md resource_owners: - any_name: - type: resource_owner_of_choice - client_id: - client_secret: + facebook: + type: facebook + client_id: '%env(FB_ID)%' + client_secret: '%env(FB_SECRET)%' + scope: "email" options: + display: popup csrf: true