Open
Description
Hi,
I like to signal the following bug in the web ui for the rest api.
If I use it, I get this error:
{
"code": 16,
"message": "authorization metadata must in format 'Bearer <TOKEN>",
"details": []
}
Which is due to the fact that the web api does not seems to send the correct request. In fact, the example curl is:
curl -X 'GET' \
'https://lorawan.gizeroplatform.com/api/tenants?limit=100&offset=0' \
-H 'accept: application/json' \
-H 'Grpc-Metadata-Authorization: mysupertoken'
Whilst, as stated by the error, it should be:
curl -X 'GET' \
'https://lorawan.gizeroplatform.com/api/tenants?limit=100&offset=0' \
-H 'accept: application/json' \
-H 'Grpc-Metadata-Authorization: Bearer mysupertoken'
Please note the added Bearer
.
Of course, the fixed curl works fine.
Best regards.
Metadata
Metadata
Assignees
Labels
No labels