fix firewalls a little
This commit is contained in:
parent
ce8f54dc46
commit
9dc6243822
|
@ -23,14 +23,17 @@ security:
|
|||
api_apps:
|
||||
pattern: ^/api/v1/apps$
|
||||
security: false
|
||||
api_token:
|
||||
pattern: ^/oauth/token$
|
||||
security: false
|
||||
api:
|
||||
guard:
|
||||
authenticators:
|
||||
- Trikoder\Bundle\OAuth2Bundle\Security\Guard\Authenticator\OAuth2Authenticator
|
||||
provider: local_user
|
||||
pattern: ^/api/
|
||||
security: true
|
||||
stateless: true
|
||||
guard:
|
||||
authenticators:
|
||||
- Trikoder\Bundle\OAuth2Bundle\Security\Guard\Authenticator\OAuth2Authenticator
|
||||
main:
|
||||
entry_point: App\Security\Authenticator
|
||||
guard:
|
||||
|
|
Loading…
Reference in New Issue
Block a user