@@ -217,6 +217,8 @@ GET /hello?jwt=invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtl
217
217
{"message":"JWT token invalid"}
218
218
--- error_log
219
219
JWT token invalid: invalid header: invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
220
+ --- no_error_log
221
+ [error]
220
222
221
223
222
224
@@ -225,9 +227,11 @@ JWT token invalid: invalid header: invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
225
227
GET /hello?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTU2Mzg3MDUwMX0.pPNVvh-TQsdDzorRwa-uuiLYiEBODscp9wv0cwD6c68
226
228
--- error_code: 401
227
229
--- response_body
228
- {"message":"JWT token verify failed "}
230
+ {"message":"failed to verify jwt "}
229
231
--- error_log
230
- JWT token verify failed: 'exp' claim expired at Tue, 23 Jul 2019 08:28:21 GMT
232
+ failed to verify jwt: 'exp' claim expired at Tue, 23 Jul 2019 08:28:21 GMT
233
+ --- no_error_log
234
+ [error]
231
235
232
236
233
237
@@ -281,6 +285,8 @@ Authorization: bearer invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c
281
285
{"message":"JWT token invalid"}
282
286
--- error_log
283
287
JWT token invalid: invalid header: invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
288
+ --- no_error_log
289
+ [error]
284
290
285
291
286
292
@@ -434,6 +440,8 @@ GET /hello?jwt=invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtl
434
440
{"message":"JWT token invalid"}
435
441
--- error_log
436
442
JWT token invalid: invalid header: invalid-eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
443
+ --- no_error_log
444
+ [error]
437
445
438
446
439
447
@@ -444,9 +452,11 @@ GET /hello
444
452
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTg3OTMxODU0MX0.fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
445
453
--- error_code: 401
446
454
--- response_body
447
- {"message":"JWT token verify failed "}
455
+ {"message":"failed to verify jwt "}
448
456
--- error_log
449
- JWT token verify failed: signature mismatch: fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
457
+ failed to verify jwt: signature mismatch: fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
458
+ --- no_error_log
459
+ [error]
450
460
451
461
452
462
0 commit comments