fix: update login

This commit is contained in:
Maël Gangloff
2024-07-22 13:39:45 +02:00
parent 9e8523fa53
commit 1642767993
12 changed files with 33 additions and 10851 deletions

View File

@@ -15,7 +15,7 @@ security:
security: false
api_login:
pattern: ^/api/login
pattern: ^/api/login$
stateless: true
json_login:
check_path: api_login
@@ -30,6 +30,9 @@ security:
main:
custom_authenticators:
- App\Security\OAuthAuthenticator
logout:
path: /logout
target: /
# activate different ways to authenticate
# https://symfony.com/doc/current/security.html#the-firewall

View File

@@ -6,6 +6,7 @@ controllers:
api_login:
path: /api/login
methods: [ 'POST' ]
oauth_connect_check:
path: /login/oauth/check