fix firewalls a little

This commit is contained in:
Diogo Peralta Cordeiro 2022-01-16 21:45:51 +00:00
parent ce8f54dc46
commit 9dc6243822
No known key found for this signature in database
GPG Key ID: 18D2D35001FBFAB0

View File

@ -23,14 +23,17 @@ security:
api_apps: api_apps:
pattern: ^/api/v1/apps$ pattern: ^/api/v1/apps$
security: false security: false
api_token:
pattern: ^/oauth/token$
security: false
api: api:
guard:
authenticators:
- Trikoder\Bundle\OAuth2Bundle\Security\Guard\Authenticator\OAuth2Authenticator
provider: local_user provider: local_user
pattern: ^/api/ pattern: ^/api/
security: true security: true
stateless: true stateless: true
guard:
authenticators:
- Trikoder\Bundle\OAuth2Bundle\Security\Guard\Authenticator\OAuth2Authenticator
main: main:
entry_point: App\Security\Authenticator entry_point: App\Security\Authenticator
guard: guard: