diff --git a/README.md b/README.md index 949ed0c..bdc77ff 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file + - php bin/console lexik:jwt:generate-keypair diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 08cc324..1333cbe 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -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