Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:1
-
Sprint:TSSW Sprint - Jan 16 - Jan 30
-
Team:Telescope and Site
-
Urgent?:No
Description
Currently a new ClientSession is created for every request sent to the REST server. However, it should be possible to use a single ClientSession for all requests. This would require setting the Authorization header every time the CSC authenticates itself with the REST server. This ticket is for implementing all that.
Attachments
Issue Links
- relates to
-
DM-37370 Implement authentication for the Authorize CSC
- Done
It turns out that custom headers can be set on any request (GET, POST, PUT) to the REST server. So a single ClientSession can be used and the Authorization header can be set as a parameter to the request.