Adding a public route (in order to disable JWT authentication) by adding --public-route=/api/* or --public-route=* does not work. When querying the URL (e.g. http://135.181.40.39:14265/api/explorer/v2/milestones/by-index/30/blocks) the error message
{"error":{"code":"400","message":"missing or malformed jwt, error: code=400, message=missing or malformed jwt"}}
appears
Bug description
Adding a public route (in order to disable JWT authentication) by adding
--public-route=/api/*
or--public-route=*
does not work. When querying the URL (e.g. http://135.181.40.39:14265/api/explorer/v2/milestones/by-index/30/blocks) the error message{"error":{"code":"400","message":"missing or malformed jwt, error: code=400, message=missing or malformed jwt"}}
appearsUsed documentation: https://wiki.iota.org/shimmer/chronicle/reference/authentication/
Rust version
Chronicle version
Hardware specification
Steps to reproduce the bug
Expected behaviour
Chronicle returns the respective data
Actual behaviour
the jwt token is still required
Errors