Files
symfony-flex-recipes-contrib/hwi.oauth-bundle.2.0.json
T
github-action[bot]andgithub-action[bot] e94dd28c51 Update Flex endpoint
2024-02-24 09:42:53 +00:00

72 lines
3.4 KiB
JSON

{
"manifests": {
"hwi/oauth-bundle": {
"manifest": {
"bundles": {
"HWI\\Bundle\\OAuthBundle\\HWIOAuthBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"FB_ID": "",
"FB_SECRET": ""
},
"post-install-output": [
" * <fg=blue>Configure</> your application:",
" 1. Add firewall by adding <comment>- main:",
" anonymous: true",
" oauth:",
" resource_owners:",
" my_github: \"/login/check-github\"",
" login_path: /login",
" use_forward: false",
" failure_path: /login",
"",
" oauth_user_provider:",
" service: hwi_oauth.user.provider",
"</> in your security firewalls section.",
"",
" * <fg=blue>Read</> the documentation at <comment>https://github.com/hwi/HWIOAuthBundle/blob/master/docs/3-configuring_the_security_layer.md</>"
]
},
"files": {
"config/packages/hwi_oauth.yaml": {
"contents": [
"hwi_oauth:",
" # https://github.com/hwi/HWIOAuthBundle/blob/master/docs/2-configuring_resource_owners.md",
" resource_owners:",
" facebook:",
" type: facebook",
" client_id: '%env(FB_ID)%'",
" client_secret: '%env(FB_SECRET)%'",
" scope: \"email public_profile\"",
""
],
"executable": false
},
"config/routes/hwi_oauth_routing.yaml": {
"contents": [
"hwi_oauth_redirect:",
" resource: \"@HWIOAuthBundle/Resources/config/routing/redirect.php\"",
" prefix: /connect",
"",
"hwi_oauth_connect:",
" resource: \"@HWIOAuthBundle/Resources/config/routing/connect.php\"",
" prefix: /connect",
"",
"hwi_oauth_login:",
" resource: \"@HWIOAuthBundle/Resources/config/routing/login.php\"",
" prefix: /login",
""
],
"executable": false
}
},
"ref": "20154480d558409ad3eb9de3644817c81fad2268"
}
}
}