瀏覽代碼

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

# Conflicts:
#	README.md
master
Florian Eisenmenger 2 年之前
父節點
當前提交
48e33afc29
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. +3
    -3
      README.md
  2. +1
    -1
      config/packages/security.yaml

+ 3
- 3
README.md 查看文件

@@ -93,10 +93,10 @@
- https://api-platform.com/docs/distribution/ - https://api-platform.com/docs/distribution/
- https://api-platform.com/docs/core/extending/ - 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 # Lexik JWT
- https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html - https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html
- Nur bei NEU Installation: - Nur bei NEU Installation:
- php bin/console lexik:jwt:generate-keypair
- php bin/console lexik:jwt:generate-keypair

+ 1
- 1
config/packages/security.yaml 查看文件

@@ -20,7 +20,7 @@ security:
jwt: ~ jwt: ~
main: main:
json_login: 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 username_path: email
password_path: password password_path: password
success_handler: lexik_jwt_authentication.handler.authentication_success success_handler: lexik_jwt_authentication.handler.authentication_success


Loading…
取消
儲存