Skip to content

Requests to /test-list/tor-targets returning error in backend-hel #289

@LDiazN

Description

@LDiazN

When you try to retrieve the tor-targets from api.dev.ooni.io you get the following error:

{"error":"Invalid JWT signature"}

This is probably a configuration error since this service works properly in backend-fsn

Example request to reproduce:

curl -X GET "https://api.dev.ooni.io/api/v1/test-list/tor-targets?country_code=IN" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZWdpc3RyYXRpb25fdGltZSI6bnVsbCwiYXVkIjoicHJvYmVfdG9rZW4ifQ.nsFoTNOMWeXdXmggv6j4ddPBUpLxz4n3Qn1hQoS8BVc"

The token was obtained from this endpoint: https://api.dev.ooni.io/api/v1/login (see docs)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions