From 4ee9761de2401f96926cc52debe575ee49e0dfbd Mon Sep 17 00:00:00 2001 From: Clemens Krack Date: Wed, 15 Aug 2018 17:28:53 +0200 Subject: [PATCH] Uncomment example client Keep the example, but prevent errors due to missing league/oauth2-facebook package. --- .../config/packages/knpu_oauth2_client.yaml | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/knpuniversity/oauth2-client-bundle/1.20/config/packages/knpu_oauth2_client.yaml b/knpuniversity/oauth2-client-bundle/1.20/config/packages/knpu_oauth2_client.yaml index cebcbe44..32f6e8c9 100644 --- a/knpuniversity/oauth2-client-bundle/1.20/config/packages/knpu_oauth2_client.yaml +++ b/knpuniversity/oauth2-client-bundle/1.20/config/packages/knpu_oauth2_client.yaml @@ -1,15 +1,16 @@ knpu_oauth2_client: # configure your clients as described here: https://github.com/knpuniversity/oauth2-client-bundle#configuration clients: - # will create a service: "knpu.oauth2.client.facebook_main" - facebook_main: - # this will be one of the supported types - type: facebook - client_id: '%env(FB_ID)%' - client_secret: '%env(FB_SECRET)%' - # the route that you're redirected to after - # see the controller example below - redirect_route: connect_facebook_check - # route parameters to pass to your route, if needed - redirect_params: {} - graph_api_version: v2.12 + # # will create a service: "knpu.oauth2.client.facebook_main" + # first, run `composer require league/oauth2-facebook` + # facebook_main: + # # this will be one of the supported types + # type: facebook + # client_id: '%env(FB_ID)%' + # client_secret: '%env(FB_SECRET)%' + # # the route that you're redirected to after + # # see the controller example below + # redirect_route: connect_facebook_check + # # route parameters to pass to your route, if needed + # redirect_params: {} + # graph_api_version: v2.12