fix firewalls a little
This commit is contained in:
parent
ce8f54dc46
commit
9dc6243822
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user