HomeSoftware Heritage

swh.deposit.auth: private api is free from basic authentication

Description

swh.deposit.auth: private api is free from basic authentication

This includes:

  • dropping the old swh.deposit.auth module which included a basic authentication middleware. We now use djangorestframework's (drf). We did not prior to this due to some package version issue.
  • As this returns json response in failing authentication though, we convert the response into an swh-deposit one (that code remained in the swh.deposit.auth module)

Details

Provenance
ardumontAuthored on Oct 12 2017, 3:53 PM
ardumontPushed on Oct 12 2017, 8:06 PM
Parents
rDDEPad61dc2b40c1: swh.deposit.tasks: Describe the deposit task's implementation plan
Branches
Unknown
Tags
Unknown