ontoportal-lirmm / annotators

Web service to add functionalities to the http://bioportal.bioontology.org and similar ontology annotators
5 stars 6 forks source link

API Key should not be hard coded in SIFR and IBC annotator #7

Closed vemonet closed 9 years ago

vemonet commented 9 years ago

API Key for SIFR and IBC annotator should not be hardcoded in the code It should be provided (ideally through HTTP parameters : "Authorization") by the user

vemonet commented 9 years ago

http://tubo.lirmm.fr:8080/annotators/sifr_annotator?text=cancer Should not work

And http://tubo.lirmm.fr:8080/annotators/sifr_annotator?apikey=1de0a270-29c5-4dda-b043-7c3580628cd5&text=cancer Should work

jonquet commented 9 years ago

Yes the idea is to transfer the parameters in order for the final service provider (either NCBO, IBC or SIFR) to know the user that identified by the service call.

julien-diener commented 9 years ago

done in 6067c7d4c78a744f1a40aaea1d0cc7645f0ef86d