Sfoglia il codice sorgente

Merge branch 'master' of ssh://gitea.spawntree.de:1122/spawntree/matsen-tool-be

# Conflicts:
#	README.md
master
Florian Eisenmenger 2 anni fa
parent
commit
48e33afc29
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +3
    -3
      README.md
  2. +1
    -1
      config/packages/security.yaml

+ 3
- 3
README.md Vedi File

@@ -93,10 +93,10 @@
- https://api-platform.com/docs/distribution/
- https://api-platform.com/docs/core/extending/

ddev exec bin/console api:openapi:export --yaml
-> export OpenApi spec
ddev exec bin/console api:openapi:export --yaml >> openapi.yaml
-> export OpenApi spec

# Lexik JWT
- https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html
- Nur bei NEU Installation:
- php bin/console lexik:jwt:generate-keypair
- php bin/console lexik:jwt:generate-keypair

+ 1
- 1
config/packages/security.yaml Vedi File

@@ -20,7 +20,7 @@ security:
jwt: ~
main:
json_login:
check_path: auth # The name in routes.yaml is enough for mapping
check_path: /auth # The name in routes.yaml is enough for mapping
username_path: email
password_path: password
success_handler: lexik_jwt_authentication.handler.authentication_success


Caricamento…
Annulla
Salva