golden_planet_gpp_app:
api:
app_key: '%env(API_KEY)%'
app_secret: '%env(API_SECRET)%'
app_scope: '%env(API_SCOPE)%'
app:
redirect_url: '%env(REDIRECT_URL)%'
uninstall_url: '%env(UNINSTALL_URL)%'
gpp_app:
resource: "@GoldenPlanetGPPAppBundle/Resources/config/routing.yml"
prefix: /
new GoldenPlanet\GPPAppBundle\GoldenPlanetGPPAppBundle(),
env(API_KEY):
env(API_SECRET):
env(API_SCOPE):
env(REDIRECT_URL): http://obb.docker:8888/app/gpp/oauth/authorize
env(UNINSTALL_URL): http://obb.docker:8888/app/gpp/oauth/unauthorize
firewalls:
app-install:
pattern: ^/app/gpp/
stateless: true
anonymous: true
secured_area:
pattern: ^/
stateless: false
simple_preauth:
authenticator: GoldenPlanet\GPPAppBundle\Security\HmacAuthenticator
provider: store
access_control:
- { path: ^/app/gpp/, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/, roles: IS_AUTHENTICATED_FULLY }