cms-PdmV / Stats2

Stats2 - a workflow cache and history keeper for PdmV services
https://cms-pdmv.cern.ch/stats/
MIT License
0 stars 1 forks source link

Use access tokens to authenticate external requests #9

Closed ggonzr closed 1 year ago

ggonzr commented 1 year ago

Remove support for session cookies to authenticate actions and HTTP requests to other PdmV applications. Instead, request an access token and send it via the Authorization header. This PR completes the last stage to enable bi-directional updates between Stats2 ↔ RelVal & ReReco, the issue is described in #7.

This also stops using OS packages to perform actions, like cURL for HTTP requests.