Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.
http://pybossa.com
GNU Affero General Public License v3.0
745 stars 269 forks source link

retrieve new task with external user ids #1914

Closed reezi closed 5 years ago

reezi commented 5 years ago

Hello everyone!

I use external user ids and try to retrieve a task from the API, from /api/project/<project_id>/newtask. However, it fails with a "This project does not allow anonymous contributors" error.

Is it an expected behaviour? In my view, It is not really anonymous since I can trace the user. I thought it would work, as long as I use an authorization header with a retrieved token for that particular project.

I am surely missing something... 🤔

Thanks for you help!

teleyinex commented 5 years ago

Did you disable the anonymous flag in the project? This could be the problem, and worthy to discuss :-) It's an anonymous user from the point of view of PYBOSSA, because the user doesn't have an internal ID.

reezi commented 5 years ago

Oh, I see, so it is just a question of vocabulary! It is fine, I activated anonymous flags for projects. I must admit it is a bit confusing at first, because pybossa is able to trace the user, and entrusts you with it, but name it "anonymous" as for really-anonymous ones... :)

teleyinex commented 5 years ago

Yes, I need to come up with a better name :D