Skip to content

Commit eaab755

Browse files
fix(jwt): check path to match generated SwaggeUI URL (#2175)
1 parent 6a47544 commit eaab755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

symfony/jwt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ security:
9595
stateless: true
9696
provider: users
9797
json_login:
98-
check_path: auth # The name in routes.yaml is enough for mapping
98+
check_path: /auth # The name in routes.yaml is enough for mapping
9999
username_path: email
100100
password_path: password
101101
success_handler: lexik_jwt_authentication.handler.authentication_success
@@ -154,7 +154,7 @@ security:
154154
jwt: ~
155155
main:
156156
json_login:
157-
check_path: auth # The name in routes.yaml is enough for mapping
157+
check_path: /auth # The name in routes.yaml is enough for mapping
158158
username_path: email
159159
password_path: password
160160
success_handler: lexik_jwt_authentication.handler.authentication_success

0 commit comments

Comments
 (0)