Add SymfonyConnect bundle

This commit is contained in:
azjezz
2019-07-22 09:41:32 +01:00
parent f9bf83117e
commit 8ef360a202
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
symfony_connect:
app_id: '%env(SYMFONY_CONNECT_APP_ID)%'
app_secret: '%env(SYMFONY_CONNECT_APP_SECRET)%'
scope: 'SCOPE_PUBLIC'

View File

@@ -0,0 +1,7 @@
symfony_connect_callback:
path: /connect/callback
symfony_connect_login:
path: /connect/login
methods: [GET]
controller: SymfonyCorp\Bundle\ConnectBundle\Controller\OAuthController::newSessionAction

View File

@@ -0,0 +1,12 @@
{
"bundles": {
"SymfonyCorp\\Bundle\\ConnectBundle\\SymfonyConnectBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"env": {
"SYMFONY_CONNECT_APP_ID": "",
"SYMFONY_CONNECT_APP_SECRET": ""
}
}