File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,15 +154,15 @@ JWT token invalid: invalid header: invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
154154
155155
156156
157- === TEST 6: verify token with algorithm HS256
157+ === TEST 6: verify token with algorithm HS384
158158--- request
159159GET /hello
160160--- more_headers
161- Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 .eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTg3OTMxODU0MX0.fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
161+ Authorization: eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9 .eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTg3OTMxODU0MX0.yM8L6f3cGZxKqflMJlf0DqfQVpHUxupqgM3JWETyRQ8Iag1HiRrHILEA-A2rhmEq
162162--- response_body
163163hello world
164164--- error_log
165- "alg":"HS256 "
165+ "alg":"HS384 "
166166
167167
168168
@@ -329,7 +329,7 @@ passed
329329--- request
330330GET /hello
331331--- more_headers
332- Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 .eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTU2Mzg3MDUwMX0.pPNVvh-TQsdDzorRwa-uuiLYiEBODscp9wv0cwD6c68
332+ Authorization: eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9 .eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTU2Mzg3MDUwMX0.SJNbFYR1qlIOD7D8aItkB9hYxdhc0d_JGaLgVjOCDOAHd8CSJuHp_R6YQniRDq8S
333333--- response_body
334334hello world
335335
You can’t perform that action at this time.
0 commit comments